View previous topic :: View next topic |
Author |
Message |
Paper Tux's lil' helper
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Tue Jul 02, 2002 2:33 pm Post subject: bootstrap vs. normal glibc update |
|
|
Hi all!
During the last week I installed a Gentoo system for the first time. I've read the portage manual and many topics on the forums, but there's still something which is quite unclear to me.
During the bootstrap process the glibc is compiled and than gcc, binutils & c. are rebuilt against the new glibc. Ok, no problem so far.
In the forums I read many times that on a running system to update the glibc it's only needed to do an emerge --update system & emerge --update world (or something like that, but it isn't important, right now).
Well ... the question might be stupid, but I didn't find an answer so far: why during bootstrap gcc is rebuilt against the new glibc but during a normal update it isn't needed to rebuild everything against the new glibc? (well, in fact I never tried )
Come on guys ... answers, I need answers!!
Bye -Paper-
PS: btw, about 1 week as gentoo users (ex-debian) and I'm quite impressed |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 02, 2002 2:48 pm Post subject: |
|
|
AFAIK, GCC is built pre-GCC without using glibc for a shared library, because it hasn't been built yet. It then builds the shared library, but continues using the static functions, until GCC is rebuilt and dynamically linked to glibc.
Thus, there is no need to recompile GCC with a new glibc, because it uses dynamic linking after it is compiled a second time. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
Paper Tux's lil' helper
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Tue Jul 02, 2002 2:58 pm Post subject: |
|
|
Perfect, now I should have got the point
Anyway, this means that major glibc changes would need a 'global recompilation', right? (something like the old transition from libc5 to libc6/glibc)
Thanks for the anwers ... quick and effective
Bye! |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 02, 2002 3:04 pm Post subject: |
|
|
Yes, a major glibc upgrade would result in everyone having to do "emerge -e world" -- one command to recompile everything. (Isn't Gentoo great?) _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
Paper Tux's lil' helper
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Tue Jul 02, 2002 3:15 pm Post subject: |
|
|
Well, that's one of the reasons that pushed me to leave Debian. Their package system is great (and the packages count is now over 10000!) but the still stick to i386 compatibility. I've been using Debian for more than 2 years ... but Gentoo was too exciting to resist giving it a try And now I think I will be far more than just a try! |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Tue Jul 02, 2002 6:25 pm Post subject: |
|
|
Paper wrote: | Well, that's one of the reasons that pushed me to leave Debian. Their package system is great (and the packages count is now over 10000!) but the still stick to i386 compatibility. I've been using Debian for more than 2 years ... but Gentoo was too exciting to resist giving it a try And now I think I will be far more than just a try! |
Were already up to 2156 packages and look how long gentoo has been around compared to debian _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
|