Forums

Skip to content

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

Configuring the Compile Options

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
4 posts • Page 1 of 1
Author
Message
throdon
n00b
n00b
Posts: 54
Joined: Thu Feb 21, 2008 4:24 am

Configuring the Compile Options

  • Quote

Post by throdon » Fri Jan 01, 2010 10:06 pm

hey decided to restart and am comfortable so far here is where I get all confused, I am at section 5.d Configuring the Compile Options of the handbook
my ect/make.conf:

CFLAGS="O2 -pipe'
CXXFLAGS="-O2 -pipe"

CHOST="x86_64-pc-linux-gnu"

USE="mmx sse sse2"

should I change my CFLAGS to 'CFLAGS="-march=nocona -O2 -pipe" ' and my CXXFLAGS should they read exactly the same or can I make my CXXFLAGS read 'CXXFLAGS="${CFLAGS}" '

next question with 'MAKEOPTS="-j3" ' . I am going with -j3 because it's one more than the amount of cpus, does it matter where in /etc/make.conf or does it have to be on a certain line.
Top
Ken69267
Developer
Developer
User avatar
Posts: 111
Joined: Sun Apr 08, 2007 7:59 pm
Location: #gentoo-pr0n
Contact:
Contact Ken69267
Website

Re: Configuring the Compile Options

  • Quote

Post by Ken69267 » Fri Jan 01, 2010 10:25 pm

throdon wrote: should I change my CFLAGS to 'CFLAGS="-march=nocona -O2 -pipe" ' and my CXXFLAGS should they read exactly the same or can I make my CXXFLAGS read 'CXXFLAGS="${CFLAGS}" '
CFLAGS, well, what cpu is it? And yes you can have CXXFLAGS="${CFLAGS}".

throdon wrote: next question with 'MAKEOPTS="-j3" ' . I am going with -j3 because it's one more than the amount of cpus, does it matter where in /etc/make.conf or does it have to be on a certain line.
MAKEOPTS can be placed on its own line anywhere in make.conf as far as I know.
!snack
Top
throdon
n00b
n00b
Posts: 54
Joined: Thu Feb 21, 2008 4:24 am

  • Quote

Post by throdon » Fri Jan 01, 2010 10:42 pm

my cpu is "Intel (R) pentium(R) Dual CPU T3400 @ 2.16GHz as per the command "cat /proc/cpuinfo"

and I know it's x86_64 as per "uname -a"

x86_64 as per "uname -m"
Top
throdon
n00b
n00b
Posts: 54
Joined: Thu Feb 21, 2008 4:24 am

  • Quote

Post by throdon » Fri Jan 01, 2010 11:54 pm

upon further review I have decided to set my CFLAG="-march=native -O2 -pipe" because my cpu's are not a true Core2 and as far as I have found this should configur it automaticly for my arch.
so thank you all you have been a great help and on to the next step.
Top
Post Reply

4 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