O3?

Greg Schafer gschafer at zip.com.au
Sun Oct 27 15:54:19 PST 2002


On Sun, Oct 27, 2002 at 01:50:23PM -0500, Simon Roby wrote:
> I'd like to know of any success stories of people who run an LFS system with
> (almost) everything compiled with the gcc "-O3" optimization flag. And
> please tell me which packages you have not installed with -O3, if there are
> any (most likely glibc and gcc, I guess). Thanks.

Please keep in mind O3 often produces worse (slower) code.

For reference, see:-

http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2002/10/0030.html

Even moreso with gcc-3.2. Even gcc hackers acknowledge this:-

http://gcc.gnu.org/ml/gcc/2002-07/msg00211.html

Stick with O2 !

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message



More information about the lfs-chat mailing list