www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/18/09:42:36

From: JSONCRAIG AT aol DOT com
Subject: Re: success with --subsystem,windows and all that: the definitive answer
18 Aug 1998 09:42:36 -0700 :
Message-ID: <995a5e01.35d8503b.cygnus.gnu-win32@aol.com>
Mime-Version: 1.0
To: mdevos AT cis DOT co DOT za
Cc: gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019