delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/24/01:31:00

From: jqb AT netcom DOT com (Jim Balter)
Subject: Re: Bugs with gcc
24 Jan 1997 01:31:00 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32E8269D.7409.cygnus.gnu-win32@netcom.com>
References: <009AED1A DOT 22A348E0 DOT 8122 AT ifk20 DOT mach DOT uni-karlsruhe DOT de>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de wrote:
> 
> Hi, you wrote:
> 
> : firstly, compiling/linking with the -s flag to g++ causes an executable
> : to be produced, that will not run, - apparently a non NT executable.
> 
> What do you expect -s to do, please?
> The great thing about gcc/gdb/cygwin is that I can use exactly the same
> commands and switches as on unix, and often also get the same errors and
> warnings, but my (maybe outdated) gcc/g++ man pages (on unix) list no -s.
> Closest thing is -S, but that isn't supposed to create an executable at all.

Your gcc documentation should indicate that the -s flag gets passed on
to ld, to which it means "strip the symbol table".

--
<J Q B>
-
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