From: Mike Gilbert <floppymaster@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] non-root user switch gcc version ?
Date: Thu, 24 Feb 2011 18:20:46 -0500 [thread overview]
Message-ID: <AANLkTik+GvjKqUU5kEYCP3LmSk0s7_HaA-V_FLczvh_C@mail.gmail.com> (raw)
In-Reply-To: <1298546100.4367.1@numa-i>
On Thu, Feb 24, 2011 at 6:15 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> 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 <profile>)
# Set library path
export LD_LIBRARY_PATH=$(gcc-config -L <profile)
next prev parent reply other threads:[~2011-02-25 0:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 11:15 [gentoo-user] non-root user switch gcc version ? Helmut Jarausch
2011-02-24 23:20 ` Mike Gilbert [this message]
[not found] <gpHoJ-7dM-1@gated-at.bofh.it>
2011-02-24 11:50 ` Gregory Shearman
2011-02-24 12:04 ` Gregory Shearman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTik+GvjKqUU5kEYCP3LmSk0s7_HaA-V_FLczvh_C@mail.gmail.com \
--to=floppymaster@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox