User:Pepoluan/Tips & Tricks

This is a collection of various Tips & Tricks re: Gentoo that I've gathered via my experience. To the best of my knowledge, I have not seen them anywhere else.

Upgrading
Upgrading   is darn tricky. Apparently, it required a hefty hardware.

So, in addition to following the Official Gentoo GCC Upgrade Guide, you must also make sure that your hardware spec is enough. Else, the emerge will fail with totally misleading error message.

The following table contains the combinations of hardware layout I've tested, and their respective results.

Now, what if you're trying to make something 'lightweight' like a firewall? There are two possible solutions:


 * 1) Upgrade gcc and use the   option, then use the binary package to install on the lightweight box. Drawback: Unless the build-box and the lightweight-box are 100% identical, you can't use the   CFLAGS.
 * 2) Borrow some RAM. Drawbacks: Impractical on a physical box, but very easy to do on a VM -- as long as there's 'leftover' RAM on the physical host, of course.