Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Gcc 5.3
Date: Tue, 29 Dec 2015 14:54:48
Message-Id: 20151229145415.GA16770@grusum.endjinn.de
In Reply to: Re: [gentoo-user] Re: Gcc 5.3 by lee
1 Hello,
2
3 On Tue, 29 Dec 2015, lee wrote:
4 >Andrew Savchenko <bircoph@g.o> writes:
5 >> There will be no 5.3.1 likely. Numeration scheme is changed from 5.x
6 >> series: what was middle version is now major, what was minor is now
7 >> middle. So 5.3 is a patch version of 5.0 the same as 4.9.3 is a
8 >> patch version of 4.9.0.
9 >
10 >What do you currently get as default when you update, and can you easily
11 >go back to a previous version, or have several versions installed and
12 >switch between them?
13
14 I'd guess 4.9.3. And yes and yes.
15
16 # eix sys-devel/gcc
17 [I] sys-devel/gcc
18 Available versions:
19 (2.95.3) ~2.95.3-r10^s
20 (3.3.6) (~)3.3.6-r1^s
21 (3.4.6) 3.4.6-r2^s
22 (4.0.4) **4.0.4^s
23 (4.1.2) 4.1.2^s
24 (4.2.4) (~)4.2.4-r1^s
25 (4.3.6) 4.3.6-r1^s
26 (4.4.7) 4.4.7^s
27 (4.5.4) 4.5.4^s
28 (4.6.4) 4.6.4^s
29 (4.7) 4.7.4^s
30 (4.8) (~)4.8.0^s (~)4.8.1-r1^s (~)4.8.2^s 4.8.3^s 4.8.4^s 4.8.5^s
31 (4.9) ~*4.9.0^s ~*4.9.1^s (~)4.9.2^s 4.9.3^s{tbz2}
32 (5) **5.1.0^s **5.2.0^s (~)5.3.0^s{tbz2}
33 [..]
34 Installed versions: 4.9.3(4.9)^s{tbz2}[..]
35 5.3.0(5)^s{tbz2}[..]
36 [..]
37
38 # gcc-config -l
39 [1] x86_64-pc-linux-gnu-4.9.3 *
40 [2] x86_64-pc-linux-gnu-5.3.0
41
42 Basically, you can install one of each slot, i.e. the first column in
43 () of the eix output. From (2.95.3) to (5). And switch as you like.
44
45 As 4.9.3 is marked stable, I guess that's what'd you get per default.
46
47 Stuff compiled with older gcc's should run with newer libgcc*[0], but
48 stuff compililed with a newer gcc might not run with the older
49 libgcc*. Same goes, with more problems IIRC, for libstdc++.
50 So beware of that. Apart from that? I'm not aware of problems.
51
52 BTW: why is gcc not also handled via eselect? Even if that'd just
53 call gcc-config?
54
55 HTH,
56 -dnh
57
58 [0] e.g. old Loki games, probably compiled with 2.95.x or even older
59 still run fine on a system built with gcc-4.6
60
61 --
62 Unsubscribing from a mailing list you subscribed to is a basic IQ
63 test for Internet users.
64 -- Author unknown, seen on the PCR-1000 list

Replies

Subject Author
Re: [gentoo-user] Re: Gcc 5.3 lee <lee@××××××××.de>