This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: SDL on Cygwin



-


> -----Original Message-----
> Of Yaakov Selkowitz
> Sent: Monday, March 22, 2004 4:37 PM

> Subject: Re: SDL on Cygwin
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Frédéric L. W. Meunier wrote:
>
> | 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.
>
> "it builds OOTB on Cygwin" = "the vanilla sources compile and link in
> the current Cygwin environment"
>
> | -mno-cygwin is probably more appropriate for a MinGW
> | mailing-list.
>
> I think you may have missed my point, I DON'T want to use -mno-cygwin
> because it limits my options for building things dependent on SDL.
>
> | 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).
>
> Well, it doesn't give a choice as I said, it uses the -mno-cygwin flag
> by default when building in Cygwin.  I believe the libSDLmain.a is their
> way of avoiding the _WinMain@16 issue, but it shouldn't be necessary
> with the current autotool-devel packages (and I did autoreconf before
> building this).
>
> So again, how can SDL be build WITHOUT -mno-cygwin, and what does one do
> with this libSDLmain.a?

The fact that it builds out of the box with -mno-cygwin would appear to
indicate that whoever distributes the SDL application has gotten it running
as a native WIN32 application build using MINGW32 (aka -mno-cygwin).  To get
it to run as a cygwin application with the cygwin dll instead, someone will
have to port it to cygwin. What this involves can probably only be
determined by diving into the source code.  Basically it requires someone
with enough interest plus enough knowledge of cygwin + SDL to dive in and
figure it out.  I believe there is a SDL mailing list.  You might try it to
see if anyone is already working on a cygwin port or has any suggestions

									Ken


>
> Yaakov
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAX1yBpiWmPGlmQSMRAvFUAKC9ekBhMNMoN+PWCfzk9L8mFdQaRgCgtJML
> Y1rC2cZ8Tx3QjBY8v0wDf8A=
> =edEX
> -----END PGP SIGNATURE-----
>
>
> --
> 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/
>
>


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]