View previous topic :: View next topic |
Author |
Message |
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Fri Jul 28, 2006 5:12 pm Post subject: emerge --sync; now what? |
|
|
Helo there,
I wanted to update my system, so I did emerge --sync to update the portage tree.
It seems like there is a newer version of portage in the portage tree... and newer version of gcc...
Could I just to "# emerge --update --deep --newuse world" from here? Or do I have to rebuild the "toolchain" first?
What is it mean by the "toolchain" anyway? Should I do emerge portage, emerge emerge, emerge gcc and/or emerge system??? _________________ Sunnz's corner - sunNZ.Net forums |
|
Back to top |
|
|
PsychoticRetina Guru
Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Fri Jul 28, 2006 5:17 pm Post subject: Re: emerge --sync; now what? |
|
|
Code: | emerge portage
emerge --sync |
then see what
reports.
toolchain=binutils(=assembler + linker) + gcc + make + debugger. at least these are the "most important" constituents. _________________ there are pinheads everywhere.
penguins are no exception. |
|
Back to top |
|
|
Dieter@be Guru
Joined: 03 Apr 2005 Posts: 314 Location: Wetteren, Belgium
|
Posted: Fri Jul 28, 2006 5:54 pm Post subject: |
|
|
first do portage (this is a must !)
then you could do gcc: http://www.gentoo.org/doc/en/gcc-upgrading.xml (not a must) _________________ Nothing beats a ride on the Gentoo learning curve.
2 Gentoo Linux boxes - 2 Arch Linux boxes - Love all four
Say no to i386 binaries! -- Adopt an unanswered topic |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
|
Back to top |
|
|
Doorsdown n00b
Joined: 21 Mar 2005 Posts: 65 Location: Boston, MA
|
Posted: Sat Jul 29, 2006 6:26 am Post subject: |
|
|
i would do
Code: |
emerge -u portage && emerge -uDN world
|
_________________ AMD64 Phenom 9500 x4
Mark Threads [Solved] when they are solved |
|
Back to top |
|
|
at240 l33t
Joined: 12 Aug 2005 Posts: 603 Location: UK
|
Posted: Sat Jul 29, 2006 7:46 am Post subject: |
|
|
You should upgrade portage:
What version of gcc do you have, and what version does portage want to upgrade you to? You may have to recompile your entire system. If so, follow the guide mentioned earlier. It's not difficult; it just takes time. |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sat Jul 29, 2006 12:01 pm Post subject: |
|
|
I am confused on what order should I do them...
These are the things that I think I'll need to rebuild:
portage
emerge
gcc
system
world
Should I do them in that order? Or should I do gcc first? _________________ Sunnz's corner - sunNZ.Net forums |
|
Back to top |
|
|
Dieter@be Guru
Joined: 03 Apr 2005 Posts: 314 Location: Wetteren, Belgium
|
Posted: Sat Jul 29, 2006 12:13 pm Post subject: |
|
|
you don't need to rebuild portage.. you need to update it..
emerge -u portage does that
emerge is just a command to communicate with portage.
system contains gcc and some other stuff
besides: like i already told you: you MUST update portage first, (all the other posters said this too) all the rest is not a necessity _________________ Nothing beats a ride on the Gentoo learning curve.
2 Gentoo Linux boxes - 2 Arch Linux boxes - Love all four
Say no to i386 binaries! -- Adopt an unanswered topic |
|
Back to top |
|
|
at240 l33t
Joined: 12 Aug 2005 Posts: 603 Location: UK
|
Posted: Sat Jul 29, 2006 12:24 pm Post subject: |
|
|
Sunnz,
As I said before, if you tell us what versions of gcc you're moving from and to, we can tell you whether or not you need to bother rebuilding your entire system.
But as Dieter@be has said, first thing you should do is upgrade portage---we've given you commands that would do that. Emerge is part of portage, so it cannot be upgraded separately. |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sat Jul 29, 2006 1:09 pm Post subject: |
|
|
Dieter@be wrote: |
system contains gcc and some other stuff | I didn't know this! It surely cleears up lots of confusion in my head!
I think I got it now, thanks.
Code: | * sys-devel/gcc
Latest version available: 3.4.6-r1
Latest version installed: 3.4.5
Size of files: 28,490 kB
Homepage: http://gcc.gnu.org/
Description: The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking
License: GPL-2 LGPL-2.1 | I guess it won't be a great gcc upgrade? _________________ Sunnz's corner - sunNZ.Net forums |
|
Back to top |
|
|
|