Date: Wed, 18 Aug 1999 14:44:50 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Johan Venter cc: djgpp AT delorie DOT com Subject: Re: gcc-2.95 and binutils-2.9 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.