From: aurel@xylo.owl.de (Aurel Balmosan)
Subject: Re: Bugs with gcc
25 Jan 1997 01:14:19 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <m0vnrcR-00012xC.cygnus.gnu-win32@xylo.owl.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: dahms@ifk20.mach.uni-karlsruhe.de
Original-Cc: gnu-win32@cygnus.com (Maillist Cygnus)
In-Reply-To: <009AED1A.22A348E0.8122@ifk20.mach.uni-karlsruhe.de> from "dahms@ifk20.mach.uni-karlsruhe.de" at Jan 24, 97 00:58:11 am
X-Mailer: ELM [version 2.4 PL21]
Content-Length: 952       
Original-Sender: owner-gnu-win32@cygnus.com

> 
> 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.
> 
> 
> Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
> -
> For help on using this list, send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 

The -s flag is passed to ld and is defined on the man-page for ld
on any UNIX system. So there must be a problem with ld when
stripping a executable. -s means stripping the executable.
It is done directly by ld (no call of strip) 

        Aurel Balmosan
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
