From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RzZaD-0002tb-R1 for garchives@archives.gentoo.org; Mon, 20 Feb 2012 20:11:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7300EE0B6F; Mon, 20 Feb 2012 20:11:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 97EDEE0AA4 for ; Mon, 20 Feb 2012 20:10:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2FC3F1B4014 for ; Mon, 20 Feb 2012 20:10:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.652 X-Spam-Level: X-Spam-Status: No, score=-1.652 tagged_above=-999 required=5.5 tests=[AWL=-1.807, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mk5RGH47kqwH for ; Mon, 20 Feb 2012 20:10:16 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96AA81B4019 for ; Mon, 20 Feb 2012 20:10:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RzZYp-0007B8-3O for gentoo-user@gentoo.org; Mon, 20 Feb 2012 21:10:11 +0100 Received: from 69.234.176.169 ([69.234.176.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Feb 2012 21:10:11 +0100 Received: from w41ter by 69.234.176.169 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Feb 2012 21:10:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Downgrading gcc Date: Mon, 20 Feb 2012 12:09:59 -0800 Message-ID: References: <20120220042032.GB3052@solfire> 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-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 69.234.176.169 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 In-Reply-To: <20120220042032.GB3052@solfire> X-Archives-Salt: ba6c6754-bf6c-46e1-bacb-288720a86102 X-Archives-Hash: 2e2029e79902fa210034a20e922f3584 On 02/19/2012 08:20 PM, meino.cramer@gmx.de wrote: > Hi, > > I want to downgrade gcc from 4.5.3-r1 to 4.4.5. > > The Gentoo gcc UPgrade guide tells me, that ABI are only upward > compatible which implies problems when downgrading and not upgrading. > > Nonetheless a downgrade is needed here and I want to go > to gcc-4.4.5. > As the others have already said, gcc-config is the way to switch between gcc versions. In theory, every time you switch between different gcc's you *should* run 'fix_libtool_files.sh ' *and* recompile every package that links to libstdc++ (because libstdc++ is part of the gcc package and gcc-config switches versions of libstdc++). I suspect most people don't actually do those things, however :) Just keep it in mind if any c++ applications start acting weird.