Results 1 to 3 of 3
Hello,
I'm considering upgrading from Mandrake 10.0 to a custom-compiled Gentoo box. I need some advice as to what parameters and flags i should pass into the g++ (or maybe ...
- 12-15-2004 #1Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
Kernel Compilation advice needed
Hello,
I'm considering upgrading from Mandrake 10.0 to a custom-compiled Gentoo box. I need some advice as to what parameters and flags i should pass into the g++ (or maybe even icc
) command, given my system specs. Here they are:
Intel P4 530 3.0GHz (1MB L2 cache, 800FSB, HyperThreading, etc.)
Integrated GMA 900 (915G chipset) graphics
512MB DDR-400 RAM
80GB SATA hard drive
Asus P5GDC-V mobo (PCIe)
Integrated network hardware
What adds to my confusion is that Knoppix 3.4 shows my processor as an i586, whereas mandrake 10.0 shows it as a i686. Moreover, both distros show two identical processors, even though i don't have a dual processor setup (I think this is due to HyperThreading though). Whats the optimum g++ command for my system? Thanks.
P.S: I want it fully optimised for speed. Memory is definitely not an issue here.
- 12-15-2004 #2
Here is the page that you'll want to check out:
Using the GCC compiler
You'll definately want these in your CFLAGS:
Beyond that, check out all the optomization options on the site to which I linked you. Also check out section 5.e. of the Gentoo Installation guide (x86).Code:-O3 -pipe -mcpu=pentium4 -msse -msse2 -mmmx -fomit-frame-pointers
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 12-15-2004 #3Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
thank you very much for the incredibly helpful link, sarumont!!!


Reply With Quote
