On Thu, Jun 21, 2012 at 12:51 PM, Paul Hartman <[email protected]> wrote: > On Thu, Jun 21, 2012 at 10:40 AM, Ezequiel Garcia <[email protected]> > wrote: >> Hi folks, >> >> I had rough times upgrading my gcc. Finally, I did this: >> >> 1. Upgrade gcc in a chroot >> 2. Use quickpkg gcc to create binary package (inside chroot) >> 3. Use emerge -K to install the created package >> >> I read it here: http://forums.gentoo.org/viewtopic-t-782003-start-0.html. >> >> I must say WOW, gentoo continues to amaze me. >> >> Now, the question is: >> Do I need to re-emerge something due to having new gcc? >> I'm pretty sure not, but just wanted to ask. >> >> (Sorry for being so slow: I learn Basic as my first language >> and Dijkstra says I'm mentally mutilated [1]) >> >> Thanks, >> Ezequiel. >> >> [1] http://www.cs.virginia.edu/~evans/cs655/readings/ewd498.html >> > > Hi, > > After upgrading GCC this is what I do: > > Use gcc-config to set new version active > source /etc/profile > emerge --oneshot libtool > > Usually that's all that is required. >
I'll do that, thank you. One more thing: after upgrading gcc to 4.7.0, I had to upgrade dev-libs/gmp. I'm still working on it, though. Hope this is usefule to someone, Ezequiel.

