This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dynamic linker is unable to find GCC libraries


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]