delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/06/21:30:57

From: nizea AT es DOT co DOT nz (Dave Smith)
Subject: GUI App compiling problems
6 Apr 1997 21:30:57 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3348704D.6CCE.cygnus.gnu-win32@es.co.nz>
Mime-Version: 1.0
X-Mailer: Mozilla 4.0b2 (Win95; I)
Original-To: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi,
I've read the faq, and tried browsing around to try and solve my
problem,
but as of yet, havn't got an answer, and so I hope someone here can
help.

I'm trying to compile a Windows GUI based program, but GCC doesn't
like compiling it.
I've tried adding '-ssubsystem windows' to the command line (as is in
the
FAQ), but GCC complains that :
GCC.EXE: windows: No such file or directory
GCC.EXE: unrecognized option '-ssubsystem'

And I then tried '--subsystem windows' and got

GCC.EXE: windows: No such file or directory
GCC.EXE: Invalid option '-fsubsystem'.

I tried taking these options out all together, but then it doesn't know
what
lib's to use, and so i'm totally stuck... Can anyone please help me
out on what the gcc command line should read to happily compile and link

a native gui app?

  Cheers
    Dave

P.S.  Is there a doc file anywhere explaining what all the different
libs are for?

-
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