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


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

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/


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