Hi, attached is an ebuild file for the latest pgcc (http://www.goof.com/pcg/) which is just a patched version of the gcc. Packages compiled with it are 5%-25% faster than with the vanilla gcc (if e.g. -O3 and -march=pentiumpro is used). I suggest sys-devel/pgcc.
Created attachment 2428 [details] pgcc-2.95.2.1-r1.ebuild - (New Release)
Is this really needed with gcc-3.1 and upcomming gcc-3.1.1 (should be more bug free) ?
if you don't like gcc-3.1 yet and you would like to let the "old" 2.95.x do it's job, yes ;) I'm not sure if the 3.1.1 does it's job really stable (because there are enough bugs known i think), i will use the pgcc some month more until gcc 3.1.1 is really stable and tested. pgcc is the same optimized gcc-compiler which is used for the stampede distribution (so called pentium and speed optimized). I'm not really sure if packages compiled with pgcc are faster than with gcc-3.1, but it works for me. I compiled gentoo from stage1 with pgcc with -march=pentiumpro and -O3 and no problems yet, it runs very fast, only the bash made troubles. Whatever, just a small contribution from me, maybe there are some other people (like stampede users) who like these small compiler-optimisations ;) I am using and testing it at home now and at work on our servers in the future.
Hehe, to be honest, I must admit I am with you in regards to gcc-3.x. Ill have a look .. most prob only this weekend though due to time limitations :(
Just an information: after i changed the compiler from gcc to pgcc in the scripts/bootstrap.sh and compiled with CFLAGS/CXXFLAGS=-mcpu=i686 -march=pentiumpro -O3 -pipe, everything worked well till stage3, system is up. 2 Problems found: bash-2.05a-r2 - if compiled with optimisation-cflags/cxxflags, the script command "shift" segfaults - recompiling without opt. settings - OK XFree-4.2.0-r12 - Nice problem. If i use the cflags, something changes the - march=pentiumpro to -march=1 which isn't understood from pgcc. If i change it to -march=i686 it works. Haven't found a solution yet but it worked well without -march=pentiumpro. Everything else compiles and worked well yet.
Wont pgcc work with -march=i686 -mcpu=i686, as they are supposed to be the same as pentiumpro ?
No, not for pgcc. For additional informations, take a look at http://www.goof.com/pcg/pgcc-faq.html#non_intel and http://www.goof.com/pcg/pgcc-faq.html#SEC0401 Later ;)
I think we can close this one, as we have gcc 3.2. pgcc seems to be unmaintained at all.