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 1PslD9-0005sM-I9 for garchives@archives.gentoo.org; Fri, 25 Feb 2011 00:07:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1555F1C040 for ; Fri, 25 Feb 2011 00:07:06 +0000 (UTC) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0F519E0552 for ; Thu, 24 Feb 2011 23:20:46 +0000 (UTC) Received: by pzk37 with SMTP id 37so309211pzk.40 for ; Thu, 24 Feb 2011 15:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9p57a8bBNW/Cv+I+ATx+L/+zv60cE+0EocL233L3vJQ=; b=AdCqOceyKdsfe/rsUf99AVMJolwGDftgcHBEun4SLit2vdrFWzgXvRs5S7BGO6iARI BOeLsKZDo9Rzcy1pSSCQlC9iafxRiZn5PAnoxmttHuRu/wJpZkh+GdHk7JvVDCBM8YuE UGW4qIAKGOz7qe/32LNRUPfUcMHBbBcgPrhEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mI2XI5GCZ6yj1F29kl8fcy22UNZ+E5ULf+QQj5fP/vCYqig70/2S9QEUdjg9rzddwD 0ek/6MsLWPgU8ccMAkNNwSdBbg36AhYfqmLV95R7OAmZhjOFz4kqeO42ZO1gpKOhw5eS kUhW58Ypqmnv5V3DtBlxOsB7Qn6s6gEbbOwmA= 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 Received: by 10.142.180.15 with SMTP id c15mr1103784wff.305.1298589646294; Thu, 24 Feb 2011 15:20:46 -0800 (PST) Received: by 10.142.161.19 with HTTP; Thu, 24 Feb 2011 15:20:46 -0800 (PST) In-Reply-To: <1298546100.4367.1@numa-i> References: <1298546100.4367.1@numa-i> Date: Thu, 24 Feb 2011 18:20:46 -0500 Message-ID: Subject: Re: [gentoo-user] non-root user switch gcc version ? From: Mike Gilbert To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 9aa60af5e36e7a0f127a6895f3f50abb On Thu, Feb 24, 2011 at 6:15 AM, Helmut Jarausch wrote: > Hi, > > many distributions have something like a 'switch' command such that an > ordinary user can switch the version of his/her default gcc compiler. > > Is there something similar in GenToo? > > Many thanks for a hint, > Helmut. > > You could do something like the following: # Set environment eval $(gcc-conifg -E ) # Set library path export LD_LIBRARY_PATH=$(gcc-config -L