Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make.conf flags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dake
n00b
n00b


Joined: 04 Aug 2012
Posts: 7

PostPosted: Sat Aug 04, 2012 9:10 am    Post subject: Make.conf flags Reply with quote

Hi,

Just built my first PC and want to know what your settings are for a intel Ivy Bridge chip, or users with this processor could you post your make.conf file.
I have Intel 3rd generation i5 3570K processor and 32 GIg memory so i need to know and make sure the right changes are made to the make file.

And would like to set this beast up for running Gentoo.

Thanks,
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Mon Aug 06, 2012 3:17 pm    Post subject: Reply with quote

You may to do it simply with "native" architecture. On example, watch on my make.conf:
Code:
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"

I have the Sempron 2600+ with one core. You can set "-j3" for the makeopts I think.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Mon Aug 06, 2012 3:37 pm    Post subject: Reply with quote

ultraincognito: running a 32-bit system on that kind of hardware would be a waste.

dake: use the following:
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"


and use amd64 for livecd and stage3
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Mon Aug 06, 2012 5:15 pm    Post subject: Reply with quote

I think that proper kernel configuration would also be important. Keep your eyes open :)

Also mount /tmp and /var/tmp as tmpfs, it will speed up your system (especially the latter one, it will result in faster building of packages).
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Mon Aug 06, 2012 5:23 pm    Post subject: Reply with quote

Veldrin wrote:
ultraincognito: running a 32-bit system on that kind of hardware would be a waste.

Yes, you are right but it's a bit other question. If Mr. Dake has downloaded the stage 3 then now he hasn't a choice.

But if seriously, did OP read the handbook?
Back to top
View user's profile Send private message
dake
n00b
n00b


Joined: 04 Aug 2012
Posts: 7

PostPosted: Tue Aug 07, 2012 5:08 pm    Post subject: Reply with quote

Thanks for the info guys,

I will try this weekend at installing, and hopefully i should have a working system.

Cheers

dake
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Aug 08, 2012 8:10 am    Post subject: Reply with quote

ultraincognito wrote:
Veldrin wrote:
ultraincognito: running a 32-bit system on that kind of hardware would be a waste.

Yes, you are right but it's a bit other question. If Mr. Dake has downloaded the stage 3 then now he hasn't a choice.

But if seriously, did OP read the handbook?


there are 64bit (amd64) stage3 tarballs

(for the casual reader - 'amd64' == 'x86_64' - so yes, amd64 is correct for your 64bit Intel CPU, unless you're using an Itanium chip)

dake -

before you go merging a load of stuff, it might be worth pointing out that gcc 4.5.3 - the latest "stable", does not appear to have specific optimizations for sandy bridge (namely, a march of corei7-avx). For that, you would need to go to 4.6, which is ~arch masked.

as to how stable 4.6 is? I haven't a clue, I've been away from the forums for a bit and havent seen what sort of buzz there is in gentooland. But I *have* seen posts on the subject before, cant recall where (sorry). As to what you miss out on by being stuck with corei7 instead of corei7-avx? Don't know there either, presumably minimal effect. But if it's worth it to you to have something with supposedly specific optimizations for your CPU, you'd want a newer GCC, and as such, once your base system is happy, one of the first things you'd want to do is upgrade GCC, glibc, binutils
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Wed Aug 08, 2012 8:22 am    Post subject: Reply with quote

4.6 is OK, I am running 4.7 for some time and had only two or three problems with compiling.
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum