CHOST=\"i686-pc-linux-gnu\"
CFLAGS=\"-march=athlon-tbird -O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-march=athlon-tbird -O3 -pipe -fomit-frame-pointer\"
Athlon-tbird XP (AMD)
CHOST=\"i686-pc-linux-gnu\"
CFLAGS=\"-march=athlon-xp -O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-march=athlon-xp -O3 -pipe -fomit-frame-pointer\"
Athlon 4(AMD)
CHOST=\"i686-pc-linux-gnu\"
CFLAGS=\"-march=athlon-4 -O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-march=athlon-4 -O3 -pipe -fomit-frame-pointer\"
Athlon XP (AMD)
CHOST=\"i686-pc-linux-gnu\"
CFLAGS=\"-march=athlon-xp -O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-march=athlon-xp -O3 -pipe -fomit-frame-pointer\"
Athlon MP (AMD)
CHOST=\"i686-pc-linux-gnu\"
CFLAGS=\"-march=athlon-mp -O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-march=athlon-mp -O3 -pipe -fomit-frame-pointer\"
603 (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fsigned-char\"
CXXFLAGS=\"-O3 -pipe -fsigned-char\"
603e (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fsigned-char\"
CXXFLAGS=\"-O3 -pipe -fsigned-char\"
604 (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fsigned-char\"
CXXFLAGS=\"-O3 -pipe -fsigned-char\"
604e (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fsigned-char\"
CXXFLAGS=\"-O3 -pipe -fsigned-char\"
750 aka as G3 (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt\"
CXXFLAGS=\"-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt\"
7400, aka G4 (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-mcpu=7400 -O2 -pipe -fsigned-char -maltivec
-mabi=altivec -mpowerpc-gfxopt\"
CXXFLAGS=\"-mcpu=7400 -O2 -pipe -fsigned-char -maltivec
-mabi=altivec -mpowerpc-gfxopt\"
-fsigned-char -maltivec -mabi=altivec -mpowerpc-gfxopt\"
7450, aka G4 second generation (PowerPC)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-mcpu=7450 -O2 -pipe -fsigned-char
-maltivec -mabi=altivec -mpowerpc-gfxopt\"
CXXFLAGS=\"-mcpu=7450 -O2 -pipe -fsigned-char
-maltivec -mabi=altivec -mpowerpc-gfxopt\"
PowerPC (If you don\'t know which one)
CHOST=\"powerpc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fsigned-char -mpowerpc-gfxopt\"
CXXFLAGS=\"-O3 -pipe -fsigned-char -mpowerpc-gfxopt\"
Sparc
CHOST=\"sparc-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-O3 -pipe -fomit-frame-pointer\"
Sparc 64
CHOST=\"sparc64-unknown-linux-gnu\"
CFLAGS=\"-O3 -pipe -fomit-frame-pointer\"
CXXFLAGS=\"-O3 -pipe -fomit-frame-pointer\"
好了,这样做后你编译出的程序运行效率将比以前高很多!只要你有时间,你可以把你的系统如redhat linux 9.0的源代码(后缀.src.rpm)全部重新编译一次,你会发现你的Redhat Linux系统将比原来快一大截!