Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Make.conf flags

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
dake
n00b
n00b
Posts: 7
Joined: Sat Aug 04, 2012 8:44 am

Make.conf flags

  • Quote

Post by dake » Sat Aug 04, 2012 9:10 am

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,
Top
ultraincognito
Guru
Guru
User avatar
Posts: 346
Joined: Fri Jun 03, 2011 9:33 am
Location: Ukraine
Contact:
Contact ultraincognito
Website

  • Quote

Post by ultraincognito » Mon Aug 06, 2012 3:17 pm

You may to do it simply with "native" architecture. On example, watch on my make.conf:

Code: Select all

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.
Top
Veldrin
Veteran
Veteran
User avatar
Posts: 1945
Joined: Tue Jul 27, 2004 5:47 pm
Location: Zurich, Switzerland

  • Quote

Post by Veldrin » Mon Aug 06, 2012 3:37 pm

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

dake: use the following:

Code: Select all

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.
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Mon Aug 06, 2012 5:15 pm

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!
Top
ultraincognito
Guru
Guru
User avatar
Posts: 346
Joined: Fri Jun 03, 2011 9:33 am
Location: Ukraine
Contact:
Contact ultraincognito
Website

  • Quote

Post by ultraincognito » Mon Aug 06, 2012 5:23 pm

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?
Top
dake
n00b
n00b
Posts: 7
Joined: Sat Aug 04, 2012 8:44 am

  • Quote

Post by dake » Tue Aug 07, 2012 5:08 pm

Thanks for the info guys,

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

Cheers

dake
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Wed Aug 08, 2012 8:10 am

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
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Wed Aug 08, 2012 8:22 am

4.6 is OK, I am running 4.7 for some time and had only two or three problems with compiling.
BTW, TWM FTW!
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic