From Gentoo Linux Wiki
Last time I tried this I used gcc-3.4.3, prelink and TIP Safe LDFLAGS. The end result was a nearly perfect desktop system. However, nothing I tried cured me of alsasink error from gstreamer, which is a very important part of the Gnome multimedia experience, so after all of my troubleshooting attempts failed I've decided to start over much safer and see if I can work myself up to just before the point I tried to fix gstreamer and everything else started breaking. This time I'm trying a stage1 one again using gcc-3.3.5 without prelink or LDFLAGS. I also changed my -Os flag to -02 for the bootstrap process (I think it's more important that GCC and such are CPU effecient than size efficient).
| Code: The loooooooooong stage2 instructions
|
|
|
[edit] Going from stage2 to stage3
If you're dangeresque, you should have gcc-3.4.x at this point, so you can go back and change a few things in /etc/make.conf. I'm not dangeresque, but I did change the -O2 back to -Os. At this stage, having a lot of USE flags set may create some miscellaneous issues.
- If you have problems use emerge --resume, pause the job with CTRL+z and then USE="-*" emerge ${NECESSARY_PACKAGE}. Then continue to resume with fg %1
If you're setting up another machine similar to this one and builkpkg is in your
FEATURES in /etc/make.conf follow the steps I outlined in the /etc/make.conf example above and append the -g option to emerge or use nfs to export the server's /usr/portage on the workstation.
| Code: The also terribly long stage3 instructions
|
|
|
Note: If some event causes you to have to halt the emerge, restart it with emerge --resume - otherwise you'll waste a lot of time starting from scratch.
I prefer to fetch everything in advance, to speed up things later on. For example:
| Code: Fetch all packages that I will emerge later
|
|
|