1 |
Due to a change that drobbins made in bootstrap.sh, there is a slight |
2 |
change in the process of getting a build image up and going. |
3 |
|
4 |
During the bootstrap phase, editing /etc/make.conf before running |
5 |
bootstrap.sh won't work. So what you have to do is first manually set |
6 |
your USE, CHOST, CFLAGS, and CXXFLAGS at the command prompt. So for a |
7 |
pentium pro class machine you would do this (assuming the bash shell): |
8 |
# export USE="slang readline gpm berkdb gdbm tcpd ..." |
9 |
# export CHOST="i686-pc-linux-gnu" |
10 |
# export CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" |
11 |
# export CXXFLAGS="${CFLAGS}" |
12 |
# scripts/bootstrap.sh files/bootstrap-foo.packages |
13 |
|
14 |
After the bootstrap process is finished, then you can edit |
15 |
/etc/make.conf and complete the process, per the build doc. |
16 |
|
17 |
One note: do not use the the "linux" ebuilds! use the "linux-sources" |
18 |
ebuilds and make menuconfig. We will get the configuration in a more |
19 |
sane state eventually, but right now, you must check it very carefully |
20 |
to ensure it will work with your system. In particular, ATA support |
21 |
needs to be built in if you want to boot off of an IDE drive. |