On Thu, Feb 24, 2011 at 6:15 AM, Helmut Jarausch <jarau...@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)