LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cflag settings for gentoo make.conf (https://www.linuxquestions.org/questions/linux-software-2/cflag-settings-for-gentoo-make-conf-377083/)

shanenin 10-26-2005 10:30 AM

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?

ironwalker 10-27-2005 09:27 PM

i386


All times are GMT -5. The time now is 06:09 PM.