[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] CFLAGS and USE Question



Brett Royles wrote:

You should be OK with what you have selected. I have an AMD64 install
with similar CFLAGS (although 64 bit compiled and a 32 bit chroot) and
it works fine. Also had a PIII with very similar that worked great until
it stopped posting :(

I agree , those flags seem good to me , I personally use -O6 , but
thats just me!!!

I saw an article somewhere on the net about optimisation flags and how anything above -O3 is aliased to -O3 anyway - with the relevant bit of the gcc source shown to prove it! As far as I read there isn't anything above -O3 but I could be wrong...

I also have a 64 bit system , and I would be intrested on how you get
the 32bit chroot to work, so any info would be gladly accepted , oh
yea Gentoo Rocks!!!

Well I am running gcc 3.3.3 and 3.4.0 - with most of the 64 bit system recompiled with gcc 3.4.0 for the ~10% speed boost shown on amd64 systems - it does seem to have improved but I haven't really benchmarked extensively.

The 32 bit chroot was pretty easy to set up. Used an athlon-xp stage3 tar ball and installed as per usual. You need to chroot by doing,

linux32 chroot /gentoo32 /bin/bash --login

If you read the amd64 tech notes they are pretty useful. The section on 32 bit compatibility is pretty good and details the emul packages and the 32 bit chroot.

http://www.gentoo.org/proj/en/base/amd64/technotes.xml?part=2&chap=4

I do run ~amd64 emul libs (emerge -s emul to find them all) and have recently upgraded to the latest ~amd64 nvidia drivers (kernel, glx and emul). I am going to try and get some 32 bit games working when I get chance under 64 bit using the emul libs if possible! I currently use

CFLAGS="-O2 -ftracer -fweb -pipe"

I may change that a little for gcc 3.4 soon. Gentoo is great - and my new amd64 system flies!
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.