You are not logged in.
Hello all. I read about certain CFLAGS you can set in /etc/makepkf.conf, so I checked out if there was anything i could do to make the packages built on my system more optimized. However, as the title states, I'm not sure what to set. The sticker on my Thinkpad T61 says "Intel® Centrino® vPro™ inside™"
Which CPU type from the Intel list on that page applies to me? Thanks
Last edited by robrene (2009-09-14 10:37:45)
Offline
Do this:
-march=native -mtune=native
That will autodetect your processor and optimise for it.
Offline
http://wiki.archlinux.org/index.php/Saf … odetection will solve your problem
Offline
This Gentoo wiki page looks legit. You may want to do a bit of background research before you dig into compile flags, as there's quite a lot that gcc can break when you tell it to crunch down your programs. Also, gcc's man page is pretty exhaustive; but if you're just looking for your -march flag, it's pentium-m.
Big 'AFAIK' here, but ignore the 'pro,' as Intel tends to arbitrarily tack that on products to up the price tag a smidgeon.
Offline
Thanks, I didn't realise that those flags did more than just recognise i686 vs x86_64
Offline