View previous topic :: View next topic |
Author |
Message |
odendahl n00b
Joined: 27 Nov 2002 Posts: 9
|
Posted: Wed Nov 27, 2002 8:16 am Post subject: Updating System |
|
|
Hi,
I'm new to gentoo and I have a question concerning the new release of gcc-3.2.1.
It is still marked as unstable. But if it is marked as stable I want to upgrade my system
because the new version of the gcc has a lot of bugfixes concerning the code generating
with sse and mmx instructions.
I wonder how it would work. Would an "emerge --update system" update my hole
core system?(new compilation of glib, binutils, gcc, etc)
And recompiles an "emerge --update --deep world" the rest of my system?
Or do I have to recompile all packages by hand?
Sorry for this stupid question but I didn't found a description in the docs
and here in the forum.
With best regards,
Marcel. |
|
Back to top |
|
|
kipper Tux's lil' helper
Joined: 20 Apr 2002 Posts: 112
|
Posted: Wed Nov 27, 2002 1:28 pm Post subject: |
|
|
Not in front of my box right now, but I am pretty sure
Code: | #emerge -u --deep world |
will update everything including your core. You can always verify what is in the list by using the --pretend option (-p).
e.g.
To get a list of everything that will be recompiled do:
Code: | #emerge -pu --deep world |
Usually the unstable packages are masked. However, people who want to be bleeding edge and emerge the latest packages, including the somewhat unstable need to have something like ARCH="~x86" in their use statements. the "~" signifies to portage that it can use the unstable packages for your architecture..
Hope that helps.
Cheers,
kipper[/code] |
|
Back to top |
|
|
B_F_Skinner n00b
Joined: 02 Oct 2002 Posts: 71 Location: Seattle, Washington
|
Posted: Thu Nov 28, 2002 2:57 am Post subject: |
|
|
Be careful with gcc if you are running unstable. This borked my system, and it took me a bit of time and effort to recover. (Many posts on this already, so I won't elaborate). |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Nov 28, 2002 3:37 am Post subject: |
|
|
To recompile everything you can do this:
Code: |
emerge -e system
emerge -e world
|
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Nov 28, 2002 4:29 am Post subject: |
|
|
Malakin, what do you get from doing that that you wouldn't get from just "emerge -e world"? Seems like all the system packages would get compiled twice. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
odendahl n00b
Joined: 27 Nov 2002 Posts: 9
|
Posted: Thu Nov 28, 2002 8:27 am Post subject: |
|
|
Hi,
mcg wrote: | Be careful with gcc if you are running unstable. This borked my system, and it took me a bit of time and effort to recover. (Many posts on this already, so I won't elaborate). |
yes I know.
I only want to update if the gcc-3.2.1 is marked as stable. I think this will happen soon.
Cu
Marcel. |
|
Back to top |
|
|
|