Results 1 to 4 of 4
Sorry for the multiple posts here but now that I am finally able to edit my CHOST because I'm doing a Stage 1 install I can't figure out what arch ...
- 06-05-2005 #1
A very quick CHOST question
Sorry for the multiple posts here but now that I am finally able to edit my CHOST because I'm doing a Stage 1 install I can't figure out what arch I have.. I have an Athlon XP 2600, I'm almost positive that this would be an i686 but I have no idea, I would wing it but I don't want to screw anything up.. I already have a bad feeling about my fs's...
Oh and while I am on the topic of compiling and such, can I use something else in my CFLAGS (based upon my info above) that would speed things up a bit in the compiling time? I've been using the standard -march and -pipe and -O2 and all but I'd like to speed the compiling time and tweak stuff. What could I change my CFLAGS and my MAKEOPTS to, to do this?Registered Linux user #393103
- 06-05-2005 #2
I'm thinking a "-O3" instead of a 2 would speed things up a bit - I won't do it until I get the "OK" though, I'm not a pro at Gentoo so I don't know how some stuff works.
Registered Linux user #393103
- 06-05-2005 #3Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
About the other options, here's the fragment of mine containing makeopt and such:
Also, it seems like your processor is i686, look here (taken from here):Code:CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2"
EDIT: From what heard, -O3 can make some stuff not compile... For example, at my place openoffice would only compile at "-O0" (zero).Architecture Subarchitecture CHOST Setting
x86 i386 i386-pc-linux-gnu
x86 i486 i486-pc-linux-gnu
x86 i586 i586-pc-linux-gnu
x86 i686 and above (incl. athlon) i686-pc-linux-gnu
alpha alpha-unknown-linux-gnu
ppc powerpc-unknown-linux-gnu
ppc64 powerpc64-unknown-linux-gnu
sparc sparc-unknown-linux-gnu
sparc64 sparc-unknown-linux-gnu
hppa (generic) hppa-unknown-linux-gnu
hppa pa7000 hppa1.1-unknown-linux-gnu
hppa pa8000 and above hppa2.0-unknown-linux-gnu
mips mips-unknown-linux-gnu
amd64 x86_64-pc-linux-gnu
- 06-05-2005 #4
OK thanks. I was almost positive about the i686 but then I saw all the warnings on CHOST so I figured that I should play it safe. I guess I'll just use the standard for the CFLAGS, I shouldn't really mess with anything. I don't use the fomit, here's what mine usually looks like:
Hmm.. I'd better stick with the -O2 then, it's never failed me. Once I get a bit better at Gentoo I'll start tweaking it to my exact needs, speed wise. Thanks for the help, hopefully I won't need to make any more posts soon.Code:CFLAGS="-march=athlon-xp -pipe -O2" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2"
Registered Linux user #393103


Reply With Quote
