[auton-users] software on limey

Paul Komarek komarek at cmu.edu
Mon Feb 3 21:19:25 EST 2003


On Mon, 2003-02-03 at 21:09, Dan Pelleg wrote:
> Jacob Joseph writes:
>  > > 2. Where is gcc?
>  > /usr/alpha-unknown-linux-gnu/gcc-bin/3.2/gcc
>  > 
>  > We can add a symlink from /usr/bin/gcc, which is where it is on the other 
>  > alphas.  Will this work?
>  > 
> 
> I tried to symlink it from my own ~/bin directory (which is in my path),
> and that seems to work. So we can try that. I'm not sure how gcc decides
> which libraries to use, and I'm sure I don't want to know. But we might
> want to keep this in mind in case we have more gcc versions installed and
> the symlinks mess things up. [The failure mode I'm alluding to is getting
> one gcc's libraries linked against code compiled with another]
> 

gcc chooses it's libs through compiled-in paths and the dynamic linker,
I believe.  Gentoo's gcc-config program configured /etc/ld.so.conf
according to which version of gcc has been selected.  It also configures
/etc/profile.env or something-or-another that gets sourced by users from
the system defaults.

If anyone is using tcsh, has not messed with their PATH, and still has
trouble with gcc, please let me know.

-Paul



More information about the Autonlab-users mailing list