success with --subsystem,windows and all that: the definitive answer

JSONCRAIG@aol.com JSONCRAIG@aol.com
Mon Aug 17 12:35:00 GMT 1998


I had the EXACT same problems but I figured it out(before this post).  For the
-mwindows problem here goes:(comments in brackets)

gcc -c DemoProg.cpp -o DemoProg.o[ENTER][NOTE:YOU CAN TO *.O, *.OBJ]
      [-C TELLS IT TO COMPILE TO AN OBJECT FILE]

gcc -o DemoProg.exe DemoProg.o -mwindows[you may also manually link stuff such
as comctl32, cmndlg32(for common controls and dialogs) -lcomctl32 -lcomdlg32
DO NOT, REPEAT DO NOT LINK KERNAL32 IF YOU DO -MWINDOWS!!!!!]

Hope this helps,
Jason
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list