From: aurel AT xylo DOT owl DOT de (Aurel Balmosan) Subject: Re: Bugs with gcc 25 Jan 1997 01:14:19 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Original-To: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de Original-Cc: gnu-win32 AT cygnus DOT 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 AT cygnus DOT 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 AT ifk20 DOT mach DOT uni-karlsruhe DOT de) > - > For help on using this list, send a message to > "gnu-win32-request AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".