1 |
On Thu, Feb 24, 2011 at 6:15 AM, Helmut Jarausch |
2 |
<jarausch@××××××××××××××××.de> wrote: |
3 |
> Hi, |
4 |
> |
5 |
> many distributions have something like a 'switch' command such that an |
6 |
> ordinary user can switch the version of his/her default gcc compiler. |
7 |
> |
8 |
> Is there something similar in GenToo? |
9 |
> |
10 |
> Many thanks for a hint, |
11 |
> Helmut. |
12 |
> |
13 |
> |
14 |
|
15 |
You could do something like the following: |
16 |
|
17 |
# Set environment |
18 |
eval $(gcc-conifg -E <profile>) |
19 |
|
20 |
# Set library path |
21 |
export LD_LIBRARY_PATH=$(gcc-config -L <profile) |