Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync; now what?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Fri Jul 28, 2006 5:12 pm    Post subject: emerge --sync; now what? Reply with quote

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
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Fri Jul 28, 2006 5:17 pm    Post subject: Re: emerge --sync; now what? Reply with quote

Code:
emerge portage
emerge --sync

then see what
Code:
emerge -Dupv world

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
View user's profile Send private message
Dieter@be
Guru
Guru


Joined: 03 Apr 2005
Posts: 314
Location: Wetteren, Belgium

PostPosted: Fri Jul 28, 2006 5:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Jul 29, 2006 6:16 am    Post subject: Reply with quote

????
_________________
Sunnz's corner - sunNZ.Net forums
Back to top
View user's profile Send private message
Doorsdown
n00b
n00b


Joined: 21 Mar 2005
Posts: 65
Location: Boston, MA

PostPosted: Sat Jul 29, 2006 6:26 am    Post subject: Reply with quote

i would do
Code:

emerge -u portage && emerge -uDN world

_________________
AMD64 Phenom 9500 x4
Mark Threads [Solved] when they are solved
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Sat Jul 29, 2006 7:46 am    Post subject: Reply with quote

You should upgrade portage:
Code:
emerge 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. :wink:
Back to top
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Jul 29, 2006 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dieter@be
Guru
Guru


Joined: 03 Apr 2005
Posts: 314
Location: Wetteren, Belgium

PostPosted: Sat Jul 29, 2006 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Sat Jul 29, 2006 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Jul 29, 2006 1:09 pm    Post subject: Reply with quote

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!:D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum