This is the mail archive of the gcc@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: Problematic linking between glibc and shared libgcc


On Feb 20, 2001, Russ Allbery <rra@stanford.edu> wrote:

> So what I'll immediately do is hack either gcc or our software build
> process to add the directory libgcc is located in to the rpath (no
> LD_LIBRARY_PATH, ick) for that particular case.  Hm.  Why can't gcc
> do that by default in the case that it links with a shared libgcc?

GCC will only link shared libgcc in when creating shared libraries,
and AFAIK only a few systems support -rpath in shared libraries.
Besides, there's http://gcc.gnu.org/ml/gcc/2001-02/msg00679.html

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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