[SDL] mingw32 compile with SDL

Sam Lantinga slouken at devolution.com
Thu Dec 7 08:59:06 PST 2000


> Should i write:
>     gcc kurt.cpp -o kurt.exe -lmingw32 -lSDLmain -lSDL -mwindow ?

write:
    gcc kurt.cpp -o kurt.exe $(sdl-config --cflags --libs)

See ya!
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software



More information about the SDL mailing list