Mail Archives: cygwin/1998/08/18/09:42:36
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 AT cygnus DOT com" with one line of text: "help".
- Raw text -