1 |
Jarry schrieb: |
2 |
> Hi, |
3 |
> |
4 |
> today after syncing I found new version of GCC being available, |
5 |
> "emerge --pretend --update --deep --newuse world" shows: |
6 |
> |
7 |
> [ebuild NS ] sys-devel/gcc-4.3.2-r3 [4.1.2] USE="..." |
8 |
> |
9 |
> I found a "Gentoo GCC Upgrade Guide", but it deals with GCC 3.x, |
10 |
> or 3.x->4.x. Should I follow that guide when upgrading 4.x version |
11 |
> of GCC too? In a summary, the upgrade guide recommends this way: |
12 |
> |
13 |
> # emerge -uav gcc |
14 |
> # gcc-config x86_64-pc-linux-gnu-4.3.2-r3 |
15 |
> # env-update && source /etc/profile |
16 |
> # emerge --oneshot -av libtool |
17 |
> # emerge -eav system |
18 |
> # emerge -eav world |
19 |
> # emerge -aC =sys-devel/gcc-4.1.2 |
20 |
> |
21 |
> I'm asking just to be sure, because I have such a bad feeling, |
22 |
> that screwing up gcc upgrade might render my system unusable... |
23 |
> |
24 |
> Jarry |
25 |
> |
26 |
> |
27 |
|
28 |
You don't need to follow this guide. Just emerge and you'll be fine. |
29 |
However, you might want to make adjustments to CFLAGS (especially when |
30 |
you have a newer CPU, there are new -march settings for your chip) and |
31 |
reemerge cpu-intensive programs and maybe important libraries like glibc |
32 |
to profit from the new features. |