Gentoo Archives: gentoo-dev

From: Blue Lizard <webmaster@×××××××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] -O2 <=> -O3 ?
Date: Sun, 23 Sep 2001 21:28:37
In Reply to: RE: [gentoo-dev] -O2 <=> -O3 ? by Erik Van Reeth
Erik Van Reeth wrote:
> Hi > > >>I'm on a K6 III 400, if i change the -O3 to -O2 in my >>/etc/make.conf , will >>my system go faster? I noticed that KDE runs a little slower than on my >>Redhat 7.1.... Please give me your thoughts? >> > > I think this is due because the 'objprelink' USE flag is not active by > default > (commented out in /etc/make.conf). This setting gives faster code. > > > Erik > > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@××××××××××.org > > >
to bart: i believe they refer to -O2 being faster COMPILE, as -O3 is higher optimization for speed and larger code size and longer compile time etc. There are some fine tunings you can do to make the most out of your time and space in all areas. check out the gcc documentation on options that control optimization. For instance, specifying what kinds of functions to inline. to erik: i thought 7.1 does not use objprelink? it wasnt exactly stable...