Hello,
I’m using SDL 1.2 under cygwin, and I can link succesfully as long
as I don’t use any of the cygwin libraries (e.g. readline).
Here’s what sdl-config --cflags --libs outputs:
-I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main
-I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin -L/usr/local/lib
-lSDLmain -lSDL -mwindows -mno-cygwin -lmingw32
Presumably this is due to the -mno-cygwin flag. If I understand
correctly, even under cygwin, SDL gets built using the mingw
stuff. I tried to build SDL without the mingw and no-cygwin flags
by hacking the configure file, but this (predictably) didn’t work.
Is there any way I can link in cygwin dll’s with my windows SDL
application?
thanks,
Alexandre Mathy
Behalf Of Alexandre Mathy
Hello,
Hello,
– SNIP –
Presumably this is due to the -mno-cygwin flag. If I
understand correctly, even under cygwin, SDL gets built using
the mingw stuff. I tried to build SDL without the mingw and
no-cygwin flags by hacking the configure file, but this
(predictably) didn’t work.
Is there any way I can link in cygwin dll’s with my windows
SDL application?
Yes there is. Use google and search on libsdl.org for Cygwin
Compilation. There’s a way to use Cygwin’s DLL files instead
Of the Mingw stuff.
But I’m gonna warn you. In the beginning I used Cygwin because
Of it’s shell posabilities. Later one I switched to the SDL
Mingw distribution (which had the shell) and I found out that
Applications build with SDL on Mingw are a lot faster then
Compiled With Cygwin DLL’s.
From http://www.mingw.org) and follow the directions from the
Following url/file :
http://www.libsdl.org/extras/win32/mingw32/README.txt
thanks,
Alexandre Mathy
Regards,
Niels Wagenaar> -----Original Message-----
From: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] On
Sent: zondag 4 augustus 2002 16:15
To: sdl at libsdl.org
Subject: [SDL] linking under cygwin
From my point of view, switch to mingw and msys (both are available
Hey Niels,
Thanks, I got it to work.
I’m just messing about with sdl, performance isn’t an issue (yet).
Thanks for the tip though.
Alex> ----- Original Message -----
From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org]On Behalf Of
Niels Wagenaar
Sent: Sunday, August 04, 2002 8:11 PM
To: sdl at libsdl.org
Subject: RE: [SDL] linking under cygwin
-----Original Message-----
From: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] On
Behalf Of Alexandre Mathy
Sent: zondag 4 augustus 2002 16:15
To: sdl at libsdl.org
Subject: [SDL] linking under cygwin
Hello,
Hello,
– SNIP –
Presumably this is due to the -mno-cygwin flag. If I
understand correctly, even under cygwin, SDL gets built using
the mingw stuff. I tried to build SDL without the mingw and
no-cygwin flags by hacking the configure file, but this
(predictably) didn’t work.
Is there any way I can link in cygwin dll’s with my windows
SDL application?
Yes there is. Use google and search on libsdl.org for Cygwin
Compilation. There’s a way to use Cygwin’s DLL files instead
Of the Mingw stuff.
But I’m gonna warn you. In the beginning I used Cygwin because
Of it’s shell posabilities. Later one I switched to the SDL
Mingw distribution (which had the shell) and I found out that
Applications build with SDL on Mingw are a lot faster then
Compiled With Cygwin DLL’s.
From my point of view, switch to mingw and msys (both are available
From http://www.mingw.org) and follow the directions from the
Following url/file :
http://www.libsdl.org/extras/win32/mingw32/README.txt
thanks,
Alexandre Mathy
Regards,
Niels Wagenaar
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl