[SDL] cross-compiling woes

Paul Pelzl pelzlpj at eecs.umich.edu
Tue Jan 18 11:37:12 PST 2005


On Tue, Jan 18, 2005 at 08:53:49PM +0200, Martin Storsjö wrote:
> Did you remember to link with SDLmain? When I'm compiling with Mingw, I 
> use the following linker flags:
> -lmingw32 -lSDLmain -lSDL

Yes.  The linker command uses `i586-mingw32msvc-sdl-config --static-libs`, which
reports:
-L/home/paul/src/libsdl-mingw/lib -lmingw32 -lSDLmain -lSDL -mwindows
-luser32 -lgdi32 -lwinmm

(Dynamic linking produces the same error.)

Paul






More information about the SDL mailing list