Igor Castro wrote: > Hi! I'm newbie on this list and i cant compile my c++/SDL program under > windows... I use: > gcc SDL_teste.cpp -lSDLmain -lSDL -mwindows > and get the error msg: > "undefined reference to "WinMain at 16" Try adding -lmingw32