🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53143

Why not build gcc-2.0 with -O5?

#53143
From: Nelson Minar
Date: Thu, 27 Feb 1992 08:28
18 lines
1169 bytes
Not wanting to do real work today, I decided to play around with
building gcc-2.0 using gcc -O5 (ie - build stage 1 as normal, with the
system's C compiler, and then build stage2 with the CFLAGS "-O5
-Bstage1/" instead of "-g -O -Bstage1/"

I'm using mips-dec-ultrix. It seems to have worked ok. The .o files
compare out ok. I haven't benchmarked the compiler, but I hope it
made it faster - gcc 2.0 seems to be a bit on the slow side.

Why isn't the default gcc 2.0 build 
gcc -O5
instead of 
gcc -g -O

do that many people need to debug their compilers?
-- 
                __
nelson@reed.edu \/                                            Love under will
Technical Details
Message-ID: <1992Feb27.082829.11288@reed.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!reed!nelson

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3e87c8fb50512b0f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-27 09:10:16 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!reed!nelson
From: nelson@reed.edu (Nelson Minar)
Newsgroups: gnu.gcc.help
Subject: Why not build gcc-2.0 with -O5?
Message-ID: <1992Feb27.082829.11288@reed.edu>
Date: 27 Feb 92 08:28:29 GMT
Article-I.D.: reed.1992Feb27.082829.11288
Organization: Reed College, Portland, OR
Lines: 18