gentoo/Setup.md

25 lines
718 B
Markdown
Raw Normal View History

2012-01-09 12:29:46 -05:00
# General Setup
2012-01-09 13:24:59 -05:00
1. Follow the Gentoo Handbook for installing Gentoo
2012-01-09 13:26:26 -05:00
[Gentoo Handbook](http://www.gentoo.org/doc/en/handbook/)
2012-01-24 16:57:15 -05:00
Generally, you can just use the amd64 version of Gentoo, as most servers now are 64-bit compatible
[amd64 handbook](http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml)
2012-01-09 13:24:59 -05:00
2. Install LLVM/Clang (Optional)
2012-01-09 12:29:46 -05:00
2012-01-09 13:26:26 -05:00
Clang is a faster compiler than the default GCC. It produces binary as fast, or faster than GCC. To set up clang,
run `emerge llvm clang`
and add these to lines to the top of your `/etc/make.conf` file
2012-01-09 12:29:46 -05:00
2012-01-09 13:26:26 -05:00
CC=/usr/bin/clang
CXX=/usr/bin/clang++
2012-01-24 16:57:15 -05:00
If a package fails to compile with clang, you can comment out those lines, and recompile the package with GCC.