delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/18/06:37:54

From: alexl AT cre DOT canon DOT co DOT uk (Alex Lyons)
Subject: problem with removing console windows
18 Feb 1997 06:37:54 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <330980FF.3A6A.cygnus.gnu-win32@cre.canon.co.uk>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5 sun4u)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I am trying to get processes compiled under gnu-win32 which don't 
bring up console windows. This is so that they can be run from a GUI
app.

I've tried compiling a simple 'hello world' program using

gcc -Xlinker -ssubsystem -Xlinker windows -lstdc++

but I get linker warning about no entry symbol _WinMainCRTStartup and
the resulting executable doesn't run.

There must be a very simple thing that I'm doing wrong. Does anyone
know how to fix it. I can't see it in the FAQ.

Thanks very much.

---
Alex Lyons MA PhD		   mailto:alexl AT cre DOT canon DOT co DOT uk
Computer Vision Group		   http://www.cre.canon.co.uk/
Canon Research Centre Europe Ltd   tel: +44-1483-448844
Guildford, Surrey, GU2 5YF, UK	   fax: +44-1483-448845
-
For help on using this list, 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