canonicalizing paths

Daniel Jacobowitz dmj+@andrew.cmu.edu
Thu Jul 12 14:41:00 GMT 2001


On Thu, Jul 12, 2001 at 04:52:29PM -0400, DJ Delorie wrote:
> 
> > /usr/local/bin/gcc -> /usr/local/gcc-2.95.3/bin/gcc
> > 
> > where every package is installed under /usr/local/<pkg>, with symlinks
> > to the most current version in /usr/local/bin and /usr/local/man and
> > so on.
> 
> The current code won't work for that either, as it drops the gcc part.
> Only if /bin/ is the symlink will your example work.

Well, except that the current code doesn't base anything off where the
compiler binary is - only what --prefix is.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list