Dynamic linker is unable to find GCC libraries
Geoff Keating
geoffk@cygnus.com
Thu Jul 6 15:38:00 GMT 2000
> Date: Thu, 6 Jul 2000 14:30:11 -0700
> From: Benoit Hudson <bhudson@ptolemy.arc.nasa.gov>
> Cc: gcc-bugs@gcc.gnu.org
> > For one thing, gcc can be moved by the user. So any solution that
> > involves hard-coding paths (in gcc or in executables) is bad.
>
> > strings gcc | grep bhudson
> /home/idefix/id3/bhudson/lib/gcc-lib/
> /home/idefix/id3/bhudson/lib/
> /home/idefix/id3/bhudson/
> /home/idefix/id3/bhudson/share/locale
> /home/idefix/id3/bhudson
>
> So hard-coded paths already exist. Were I to move gcc-lib, gcc would now
> fail (in fact, it seems to enter an infinite loop of adding arguments to
> cpp).
That's a bug; moving gcc around is supposed to work. What version of
gcc are you using?
--
- Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc-bugs
mailing list