On Mon, 22 Mar 2004, Yaakov Selkowitz wrote: > OK, I know we've been through this before, but there's now a new version > of SDL (1.2.7), with a new development: it builds OOTB on Cygwin, all I > had to do was reautotool. > > There are problems however: > > 1) when building on Cygwin, the default is to call -mno-cygwin. This of > course will make it difficult to build other libraries, e.g. SDL_image > which wants other (cygwin-dependent) libraries like libjpeg, etc.
By "it builds OOTB on Cygwin" I assumed it was without -mno-cygwin. If you want to use it, you should rebuild all other libraries with -mno-cygwin. -mno-cygwin is probably more appropriate for a MinGW mailing-list. > 2) by default a /usr/lib/libSDLmain.a is built, and sdl-config spits out > - -Dmain=SDLmain and -lSDLmain, but this is only a static library. This > makes it impossible to build a shared library which is dependent on libSDL. I see no references to SDLmain on Linux. Actually, it's a dummy file: 840 Mar 15 16:57 libSDLmain.a Maybe you get the same compiling with Cygwin (without -mno-cygwin). -- http://www.pervalidus.net/contact.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/