From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FQQp3-0001EC-9y
	for garchives@archives.gentoo.org; Mon, 03 Apr 2006 15:18:29 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k33FHrH9012853;
	Mon, 3 Apr 2006 15:17:53 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.229])
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k33FAwbq014409
	for <gentoo-user@lists.gentoo.org>; Mon, 3 Apr 2006 15:10:59 GMT
Received: by wproxy.gmail.com with SMTP id i22so1300406wra
        for <gentoo-user@lists.gentoo.org>; Mon, 03 Apr 2006 08:10:58 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=P4gZcweNO8hGzGsrLyGcdWt9zA6HSgwjCCW9vLY5b62lCqoTzDOgtwNpELu+RIai3sSOZHHOKtios7jRpqm6fPq24uR9pmxYabqUmvsuaWqE3sh/zbHRMNd7cD1WbrV6ot2UV/mzN2DIAhPIBEgkBIBBs+y/hZRjxsrbCoE5SWA=
Received: by 10.54.86.9 with SMTP id j9mr143924wrb;
        Mon, 03 Apr 2006 08:10:58 -0700 (PDT)
Received: by 10.54.69.9 with HTTP; Mon, 3 Apr 2006 08:10:58 -0700 (PDT)
Message-ID: <7573e9640604030810j251411e5g3b9a27c6a410233d@mail.gmail.com>
Date: Mon, 3 Apr 2006 08:10:58 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc question
In-Reply-To: <f56589af0604030739v43a36849x7f3a51c01a7e1831@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <f56589af0604011157w58849bf0u92adfb1dc8e68ffd@mail.gmail.com>
	 <7573e9640604012012p5c15644n56ae12d861f765e4@mail.gmail.com>
	 <f56589af0604022057r2f58f334ya8afa0f82bf712c2@mail.gmail.com>
	 <e5a3e9ac0604022100o11137b92j49a340d36e7a79ba@mail.gmail.com>
	 <20060403105036.5350dec7@hactar.digimed.co.uk>
	 <f56589af0604030739v43a36849x7f3a51c01a7e1831@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k33FAwbq014409
X-Archives-Salt: 6d03d41a-5913-45da-8888-5a05c5c7db61
X-Archives-Hash: 5a0d3d0a19ea766ab68c3d36d362ed02

On 4/3/06, Leigh Stewart <agrodellic@gmail.com> wrote:
>  is the version of libstdc++.so which is linked to determined by the
> compiler currently in use as determined by gcc-config?

Yes.

> is it not possible to
> have different programs run against different versions of c++ shared
> libraries?

Different programs, yes.  But for example the Qt library links against
libstdc++.  So do all KDE applications.  So if you built Qt against
libstdc++.so.5, and then build a KDE application that will link
against .6, that program will crash.

-Richard

-- 
gentoo-user@gentoo.org mailing list