From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9CC181384B4 for ; Tue, 29 Dec 2015 14:54:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EBAFE0869; Tue, 29 Dec 2015 14:54:40 +0000 (UTC) Received: from km35626.keymachine.de (km35626.keymachine.de [87.118.86.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 159F3E07EC for ; Tue, 29 Dec 2015 14:54:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by km35626.keymachine.de (Postfix) with ESMTP id 55BAC11205E5 for ; Tue, 29 Dec 2015 16:00:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at km35626.keymachine.de. Received: from km35626.keymachine.de ([127.0.0.1]) by localhost (km35626.keymachine.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5vZJkpAoV-yP for ; Tue, 29 Dec 2015 16:00:28 +0100 (CET) Received: from grusum.endjinn.de (dslb-188-099-198-166.188.099.pools.vodafone-ip.de [188.99.198.166]) by km35626.keymachine.de (Postfix) with ESMTPSA id EA6FB11209A9 for ; Tue, 29 Dec 2015 16:00:27 +0100 (CET) Received: by grusum.endjinn.de (Postfix, from userid 500) id 6E72B17020B; Tue, 29 Dec 2015 15:53:49 +0100 (CET) Date: Tue, 29 Dec 2015 15:54:15 +0100 From: David Haller To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Gcc 5.3 Message-ID: <20151229145415.GA16770@grusum.endjinn.de> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <567C0CC3.9070003@verizon.net> <20151225124048.0679d0a7@a6> <20151228111727.98dce0d01cbcb451abbf95eb@gentoo.org> <871ta5pgba.fsf@heimdali.yagibdah.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <871ta5pgba.fsf@heimdali.yagibdah.de> Organization: What? X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 4a9a5644-5941-4260-976b-cc2b584b635a X-Archives-Hash: 913b17f86bace9a9edf758ac54875346 Hello, On Tue, 29 Dec 2015, lee wrote: >Andrew Savchenko writes: >> There will be no 5.3.1 likely. Numeration scheme is changed from 5.x >> series: what was middle version is now major, what was minor is now >> middle. So 5.3 is a patch version of 5.0 the same as 4.9.3 is a >> patch version of 4.9.0. > >What do you currently get as default when you update, and can you easily >go back to a previous version, or have several versions installed and >switch between them? I'd guess 4.9.3. And yes and yes. # eix sys-devel/gcc [I] sys-devel/gcc Available versions: (2.95.3) ~2.95.3-r10^s (3.3.6) (~)3.3.6-r1^s (3.4.6) 3.4.6-r2^s (4.0.4) **4.0.4^s (4.1.2) 4.1.2^s (4.2.4) (~)4.2.4-r1^s (4.3.6) 4.3.6-r1^s (4.4.7) 4.4.7^s (4.5.4) 4.5.4^s (4.6.4) 4.6.4^s (4.7) 4.7.4^s (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 (4.9) ~*4.9.0^s ~*4.9.1^s (~)4.9.2^s 4.9.3^s{tbz2} (5) **5.1.0^s **5.2.0^s (~)5.3.0^s{tbz2} [..] Installed versions: 4.9.3(4.9)^s{tbz2}[..] 5.3.0(5)^s{tbz2}[..] [..] # gcc-config -l [1] x86_64-pc-linux-gnu-4.9.3 * [2] x86_64-pc-linux-gnu-5.3.0 Basically, you can install one of each slot, i.e. the first column in () of the eix output. From (2.95.3) to (5). And switch as you like. As 4.9.3 is marked stable, I guess that's what'd you get per default. Stuff compiled with older gcc's should run with newer libgcc*[0], but stuff compililed with a newer gcc might not run with the older libgcc*. Same goes, with more problems IIRC, for libstdc++. So beware of that. Apart from that? I'm not aware of problems. BTW: why is gcc not also handled via eselect? Even if that'd just call gcc-config? HTH, -dnh [0] e.g. old Loki games, probably compiled with 2.95.x or even older still run fine on a system built with gcc-4.6 -- Unsubscribing from a mailing list you subscribed to is a basic IQ test for Internet users. -- Author unknown, seen on the PCR-1000 list