Hello,

* Ian Lance Taylor wrote on Thu, Oct 14, 2010 at 03:07:46AM CEST:
> Paul Koning writes:
> > My build system doesn't have LD_LIBRARY_PATH defined so whatever is
> > the Linux default would apply.  Perhaps I should change that.  But it
> > seems strange that configure finds the prerequisites and then ends up
> > generating makefiles that produce a compiler that can't find those
> > things, even when it's built into the same /usr/local as the libraries
> > it depends on.
> 
> Yes, it's a mess.  But we don't know of any really clean way to fix it.

Provide a configure switch --with-hardcoded-gccdeps that adds run path
entries for pre-installed support libraries?

Of course the same could be done for when support libraries are built as
part of the GCC source tree, but then we'd have to know about whether
run path entries override LD_LIBRARY_PATH settings, and/or might need to
relink upon installation in order to not use old preinstalled stuff
while inside the build tree ...

but I digress with a problem that has already been solved elsewhere,
which I suppose is not acceptable to GCC for some reason.

Cheers,
Ralf

Reply via email to