delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/13/20:40:21

Date: Sat, 14 Jan 1995 09:56:20 +0900
From: raraki AT human DOT waseda DOT ac DOT jp (Ryuichiro Araki)
To: dj AT stealth DOT ctron DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: gcc = gcc -O2 ?

>>>>> DJ == (dj AT stealth DOT ctron DOT com) writes:

> I've been asked whether it would be a Good Thing for "gcc" to default
> to "gcc -O2" rather than "gcc -O0", so that if you didn't specify
> anything, you would get optimization by default.  The reason is that

Sounds good, since I habitually use -O2 even in the halfway through the 
development. So I would vote YES, make "gcc -O2" the default.

> Should -g imply -O0 as the default?

I prefer to keep -g independent of -O.

   ---
   raraki(Ryuichiro Araki)
   raraki AT human DOT waseda DOT ac DOT jp

- Raw text -


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