You are not logged in.

#1 2009-09-14 10:21:14

robrene
Member
Registered: 2009-04-16
Posts: 168

[SOLVED] (...) which CFLAGS to choose for /etc/makepkg.conf

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)


smile neutral sad big_smile yikes wink hmm tongue lol mad roll cool

Offline

#2 2009-09-14 10:27:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] (...) which CFLAGS to choose for /etc/makepkg.conf

Do this:

-march=native -mtune=native

That will autodetect your processor and optimise for it.

Offline

#3 2009-09-14 10:28:07

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED] (...) which CFLAGS to choose for /etc/makepkg.conf

Offline

#4 2009-09-14 10:34:50

Seleucius
Member
Registered: 2009-09-08
Posts: 5

Re: [SOLVED] (...) which CFLAGS to choose for /etc/makepkg.conf

This Gentoo wiki page looks legit. smile 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

#5 2009-09-14 10:35:01

robrene
Member
Registered: 2009-04-16
Posts: 168

Re: [SOLVED] (...) which CFLAGS to choose for /etc/makepkg.conf

Thanks, I didn't realise that those flags did more than just recognise i686 vs x86_64


smile neutral sad big_smile yikes wink hmm tongue lol mad roll cool

Offline

Board footer

Powered by FluxBB