SDL 1.2.9 (mingw and CFLAGS)

Hello,

Under MinGW, if I run ./configure --prefix=/mingw' with my CFLAGS already set (to -O3), configure fails (telling me that the output is not an valid executable) If I set my CFLAGS on mymake’ command line, then it fails when trying
to include files from ./include or or ./src/{audio, …}

The specifics of my system are:
/src is a fstab mounted dir (d:/srcroot)
/mingw is a fstab mounted dir (n:/)

I currently have to build SDL without any flags. I don’t mind, but I
would prefer if I could set the flags I wanted.

Is this a feature of SDL’s ‘configure’ script or a bug :wink: ?

Cheers,
Julien

Under MinGW, if I run `./configure --prefix=/mingw’ with my CFLAGS
already set (to -O3), configure fails (telling me that the output is not
an valid executable)

The configure process has been completely rewritten, you can try it out
if you like: http://www.libsdl.org/cvs/SDL-1.2.10.tar.gz

See ya!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment