Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-qfilter-stat: ok X-Analyze: Velop Mail Shield v0.0.4 Date: Mon, 22 Mar 2004 17:54:06 -0300 (BRT) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net> To: Yaakov Selkowitz cc: cygwin AT cygwin DOT com Subject: Re: SDL on Cygwin In-Reply-To: <405F449C.3020201@users.sourceforge.net> Message-ID: References: <405F449C DOT 3020201 AT users DOT sourceforge DOT net> X-Archive: encrypt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/