-mno-cygwin and SDL
CaetSith7@aol.com
CaetSith7@aol.com
Tue Dec 4 22:39:00 GMT 2001
Hi, I downloaded and compiled SDL-1.2.3 from source in cygwin, and suprisingly I got it to work. Then I tried to set -mno-cygwin so that the app would work outside of Cygwin, but I get:
$ make win
gcc test1.C -mno-cygwin -I /usr/include -lglut32 -lglu32 -lopengl32 -lSDL -o exec/test1.exe
/usr/lib/mingw/libmingw32.a(main.o).text+0x8d):main.c: undefined reference to 'WinMain@16'
collect2: ld returned 1 exit status
make: *** [win] Error 1
Does anybody know what's wrong? Please CC to me since I'm off list.
Thanks,
Shawn Lindberg
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list