Jens Olav Nygaard wrote:
> Using 'ps' and looking at the 'time' field, I recognized that most
> cputime on my machine is spent in X and Mozilla (of the code I have
> access to source to, that is) so I want to rebuild these with gcc
> 4.0.0 with some extra optimization.

I'd suggest you to not take that path!  I've tried turning on additional
optimizations for my firefox and thunderbird builds and found out that
some combinations of optimization flags make the whole thing break, i.e.
the binary segfaults or does other fancy unwanted things.  For firefox I
found a combination that seems to work (the speed-up is somewhat
noticable) but it's too risky for me to do that with thunderbird, as I'd
like me numerous emails to stay intact.  (This was all with GCC 3.4.3.)

GCC 4.0.0 is shiny new and is almost guaranteed to break lots of
packages, especially big ones like mozilla and XFree86.  You have to
understand that 'newer' isn't necessarily 'better'.  To my best
knowledge, GCC 4.0.0 doesn't do any significant better optimizations
than GCC 3.4.3 (in some cases it does even worse).  It basically
provides some new infrastructures to allow new future optimizations to
be added.  Or something like that.

Actually, I'd even recommend people to only use GCC 4.0.0 for
experimenting, but not for building software they want to use.
I'll wait for GCC 4.1 for installing it as my main compiler.

Cheers,
jlh

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to