delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/05/22/18:39:50

Message-ID: <33849202.12BC@cs.com>
Date: Thu, 22 May 1997 18:35:46 +0000
From: "John M. Aldrich" <fighteer AT cs DOT com>
Reply-To: fighteer AT cs DOT com
Organization: Two pounds of chaos and a pinch of salt
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com, DJ Delorie <dj AT delorie DOT com>
Subject: Re: Why does gcc make such big binaries?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970522183713 DOT 29094I-100000 AT is>

Eli Zaretskii wrote:
> 
> DJ, how about changing lib/specs so that -s is used by default unless
> they say -g?  I'm sick and tired of seeing this question, even though
> it is now so well-known that I don't have to answer it myself.

But at that point, wouldn't people start complaining that they are
unable to symify or debug their programs?  IMHO, '-s' removes so much
functionality from the executable that it's not worth it to specify as
default.  Admittedly, I _always_ specify '-g' when I compile unless I
intend to produce a stripped program, but I consider myself to be an
advanced user.

This argument could be used in reverse - the readme file does explicitly
specify that you must use the '-g' switch to gain full debugging
capability.  Maybe it is a good idea after all.  ;)

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |     mailto:fighteer AT cs DOT com      |
| Descent 2: The Infinite Abyss - The greatest Internet game of all |
| time just got better!  This time, you're going all the way down...|
---------------------------------------------------------------------

- Raw text -


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