LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2008, 09:24 AM   #1
sanchera01
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Architechture in CFLAGS & CHOST do not match?


This is a really newbie question regarding my make.conf file settings... I have read through the handbook and the docs for the two variables in question. However I cant find a straight answer on how to proceed....

Basically I am trying to install gentoo for the first time on a pentium4 machine... I used the stage1-x86-2007.0.tar.bz2 tarball... So now I am in the process of modifying my make.conf which looks like :

CFLAGS="-O2 -mtune-i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i486-pc-linux-gnu"
...bla bla..

This doesn't look right to me and I am wondering if I should just start over? Or if I can get by with setting CFLAGS to: "-O2 -mtune=pentium4 -pipe"?

Hope you can help
 
Old 03-28-2008, 04:22 PM   #2
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
First, I'm confused as to why you were expecting CFLAGS and CHOST to match? Those are two separate variables dealing with two different things... Anyway, I'm not entirely sure about your computer's setup, but I would leave CFLAGS as is unless it is giving you a problem. the i486 that's in it now simply refers to one of the newer of the Intel processor families, which if I'm not mistaken is what your P4 belongs to. If you experience any problems with make with CFLAGS unchanged, then would be the time to look into changing it.

Happy Hunting :-)
 
Old 03-28-2008, 05:07 PM   #3
sanchera01
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! That was my confusion! I wasn't sure if these should match or not. I'll take your advice and only worrie about it once I have problems...
 
Old 03-28-2008, 07:51 PM   #4
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
No problem, that's what I'm here for. Reply to this thread if you have any other issues!
 
Old 01-31-2009, 08:01 AM   #5
101b147
LQ Newbie
 
Registered: Jan 2009
Distribution: Fedora
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by sanchera01 View Post
I have read through the handbook and the docs for the two variables in question.
Cooul you guys explain me what is the CHOST variable or tell me where to find the docs?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot install RHEL workstation 3.0 on VIA C3 architechture anybody1234 Linux - Hardware 2 02-17-2006 05:11 AM
grep [A-Z] & [a-z] match both upper and lower case. jschiwal Linux - General 4 05-28-2005 07:43 AM
HELP!! no match for `_IO_ostream_withassign & >> char[36 azucarmom Programming 7 03-10-2005 12:47 PM
Does anyone know the architechture SuSE 9 Pro was built for? testforechozero Linux - Distributions 2 09-18-2004 04:59 PM
LimeWireLinux & RedHat 7.2 Linux.....match? therion12 Linux - Networking 6 12-30-2001 08:11 PM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration