What is WinMain@16 ? I CAN link!

Now it links fine :
gcc -o testwin.exe testwin.c -lmingw32 -lSDLmain -lSDL

that’s all ! However the order of librairies is important.

Vivien

Now it links fine :
gcc -o testwin.exe testwin.c -lmingw32 -lSDLmain -lSDL

that’s all ! However the order of librairies is important.

Does “sdl-config --libs” give you “-lmingw32 -lSDLmail -lSDL” when cross
compiling or running sdl-config under WIn?

Just curious

-bill!

Does “sdl-config --libs” give you “-lmingw32 -lSDLmail -lSDL” when cross
compiling or running sdl-config under WIn?

Just curious

-bill!

I don’t know, I can’t execute, it’s a shell too !
But indeed there is a “echo
$libdirs -lmingw32 -lSDLmain -lSDL -luser32 -lgdi32 -lwinmm -ldxguid -mwindo
ws” there.

Vivien