This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with removing console windows


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@cre.canon.co.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]