Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124018 - When exactly to migrate to new GCC on a fresh Gentoo install
Summary: When exactly to migrate to new GCC on a fresh Gentoo install
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/gcc-upgr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 18:23 UTC by Hans Nieser
Modified: 2006-05-04 07:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Nieser 2006-02-24 18:23:09 UTC
I am installing Gentoo on my laptop and I want to migrate to GCC 3.4, but find myself wondering when exactly is the right time to do this, should I follow the entire installation documentation, and only *then* follow the migration guide at http://www.gentoo.org/doc/en/gcc-upgrading.xml#first-install, or can I do this for example when still booted form the Gentoo CD, while chrooted, before even building a custom kernel?

I suppose the earlier the 'better' (i.e. less time wasted recompiling stuff) but maybe there are some problems with doing it this way. Whatever the answer is, perhaps this should be added to http://www.gentoo.org/doc/en/gcc-upgrading.xml#first-install (or maybe even mentioned somewhere in the install docs, if appropriate).
Comment 1 nm (RETIRED) gentoo-dev 2006-03-11 10:14:43 UTC
(In reply to comment #0)
Seeing as the 2006.0 media incorporates the most recent stable toolchains for each arch, you shouldn't *need* to upgrade GCC. If you use something really old like a 2005.0 CD, then you would want to upgrade ASAP. The idea is that you upgrade gcc and rebuild your world (emerge -e system && emerge -e system && emerge -e world && emerge -e world, more or less) *before* you have tons of packages on there. That way you keep the recompiling to a minumum. Afterwards you can go ahead and start installing Gnome, OOo, etc. and they will be built with your new toolchain.

Or just use the latest installation media available for your architecture and you shouldn't have a problem (right now, anyway ;))
Comment 2 Shyam Mani (RETIRED) gentoo-dev 2006-05-04 07:55:38 UTC
(In reply to comment #0)

> I am installing Gentoo on my laptop and I want to migrate to GCC 3.4, but find
> myself wondering when exactly is the right time to do this, should I follow the
> entire installation documentation, and only *then* follow the migration guide
> at http://www.gentoo.org/doc/en/gcc-upgrading.xml#first-install, or can I do
> this for example when still booted form the Gentoo CD, while chrooted, before
> even building a custom kernel?

Ideally, this should have gone to #gentoo on irc.freenode.net or http://forums.gentoo.org since this isn't a "Bug" per se.

That said, the upgrade guide specifically states "A GCC upgrade on a system after installation from a stage3 tarball is a simple affair." and IMHO nothing can really be clearer than that.