LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-26-2005, 11:30 AM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
cflag settings for gentoo make.conf


I am makeing a stage 4 tarball, which contains a whole working system for standalone freevo(I use it a s a video player) boxes. I want this system to work on both pentium2 and k6 processors.

can I do i586 for the cflags like below, my thought ws this would be optimized for either a k6 or pentium 2, I am not even sure if "-march=i586 " is a legitamate cflag setting.
Code:
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -pipe -fomit-frame-pointer"
would it just be better to do
Code:
CHOST="i386-pc-linux-gnu"
CFLAGS="-march=i386 -O2 -pipe -fomit-frame-pointer"
I guess my question is what are the best cflags and chost that can be used for both a pentium 2 and a k6 system?
 
Old 10-27-2005, 10:27 PM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
i386
 
  


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
Gentoo make & make.conf & emerge Trouble geagon Linux - Newbie 5 10-28-2005 07:33 PM
make.conf in Gentoo linux, cpu type variable question.. bacium Linux - Software 1 05-11-2005 12:41 PM
make.conf in gentoo d1l2w3 Linux - Software 2 12-21-2004 05:42 PM
gentoo install problem, error with /etc/make.conf pyropenguin Linux - Distributions 2 08-13-2004 05:55 PM
Gentoo /etc/make.conf jiggywiggy Linux - Newbie 4 02-07-2004 03:47 PM


All times are GMT -5. The time now is 12:56 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration