www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/18/13:30:41

Date: Wed, 18 Aug 1999 14:44:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Johan Venter <jventer AT writeme DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: gcc-2.95 and binutils-2.9
In-Reply-To: <L2St3.129$ei1.493@newsfeeds.bigpond.com>
Message-ID: <Pine.SUN.3.91.990818144146.10490I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 16 Aug 1999, Johan Venter wrote:

> I don't want to have to take so long to compile a project while it's in 
> test stages.

This is a mistake, IMHO.  If you test the program compiled with a 
different set of optimization switches than the binary you will ship/use 
in production, your entire testing might be invalid, because you tested a 
different program.  Optimizations can rearrange the code a great deal.

Therefore, I suggest to use the same optimization level in testing as in 
production.  Luckily, GDB and RHIDE can debug optimized programs, so you 
don't need to compromize.

- Raw text -


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