delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/31/07:28:32

Date: Wed, 31 Jul 1996 07:26:49 -0400
Message-Id: <199607311126.HAA24930@delorie.com>
From: DJ Delorie <dj>
To: drupp AT cs DOT washington DOT edu
CC: djgpp-workers AT delorie DOT com
In-reply-to: <199607310628.XAA09018@june.cs.washington.edu>
(drupp AT cs DOT washington DOT edu)
Subject: Re: gcc -g -o

> That's right, but what is normal behavior?  Different flavors of Unix treat

The GNU theory is that switches shouldn't have unexpected side
affects.  -g should control debugging symbols and nothing else.  -s
should control stripping and nothing else.

> the unstripped coff file preserved in any case.  I'm only proposing that
> the lack of -g cause the .exe to be stripped.

It's acceptable for stubify to *always* strip the .exe.  It's
acceptable for there to be a new switch that controls it (although
such a change requires changing gcc, so you have to pass it by the
FSF).  It's not acceptable for it to be tied to a switch with another
purpose.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019