-
Notifications
You must be signed in to change notification settings - Fork 15
Mingw32 4.8.0 #23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Mingw32 4.8.0 #23
Conversation
TODO list:
|
#25 should remove the typecast needed for getopt_long. The const in the middle is a leftover from the original GNU implementation which lingers around many places. |
daa6dd4
to
9711796
Compare
Sorry for all the extra forced pushes, but I have reworked your patches, and rebased them to the current master. |
No longer happens with my test-setup |
Thanks for the effort. |
9711796
to
1251c39
Compare
1251c39
to
6a8d1b0
Compare
Here's a PR for windows-specific modifications.
sdl-win-fix.sh
script which fixes resulting Makefiles for compiling console application instead of windows one.And yes, both compiling against old SDL12 and newer SDL2 is working (--with-sdl=sdl12 or --with-sdl=sdl2 configure flags)
./configure --prefix=/mingw CXXFLAGS=-fpermissive
Also, a bit ugly, but I had to add
#undef main
just before main(), because SDL on windows does#define main SDLmain
somewhere inside its headers and it can't be overriden in mingw command line. This #undef does no harm on other platforms, though.