Thread: Gentoo!
View Single Post
Old Jan 6, 2013, 10:28 AM   #1
R-T-B
200 Posts
 
Join Date: Aug 2007
Posts: 248 (0.12/day)
Thanks: 15
Thanked 20 Times in 18 Posts

System Specs

Gentoo!

I love Gentoo, and was surprised to not find a thread for it here. I suppose it's the learning curve and lack of GUI out of the box.

I run Gentoo on the following "oddball" machines and love it's ability to optimize everything for the CPU via compile flags. I'll post a make.conf configuration for each of my machines, just for fun:

All use flags are for xfce, BTW.

Fuloong Mini-PC (Bought in China by a friend, runs a Chinese designed MIPS "Loongson" processor, yep Gentoo runs!)

Code:
CFLAGS="-O3 -Wa,-mfix-loongson2f-nop -march=loongson2f -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="mips64el-unknown-linux-gnu"
MAKEOPTS="-j1"
USE="alsa cdr dvd -kde"
PowerMac G5 Dual 2.7Ghz (It's actually for sale right now in the market, but let's keep this on topic. )

Code:
CFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="powerpc64-unknown-linux-gnu"
MAKEOPTS="-j2"
USE="qt4 qt gtk dvd alsa cdr -gnome -kde"
I have a pandaboard ARM based box as well, but it's down right now. Will post it's make.conf later. Useful for optimizing.

BTW, -fomit-frame-pointer is not your friend. It will make debugging hell, especially in java land. I only do it on that little fuloong because an 800MHz MIPS CPU needs every drop of speed it can get.

I also have an Core i7 box running gentoo naturally, but it's boring compared to my above "exotic" setups, lol.

Anyone else have a gentoo box? Don't need to post make.confs, I just did for fun. I'm pretty good at setting up gentoo and have been working with it for some time if anyone has any questions.
R-T-B is offline  
Reply With Quote