This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libio regressions, shared libs.
Donn Terry <donn@interix.com> writes:
> It appears that Cygnus is running into something similar, as
> Anthony Green sent me a patch; it's not quite what I need but
> it's in the right general direction.
Just so everyone knows, my patch is for running the testsuite on
_installed_ toolchains, where the installed bin dir is on the user's
path. Things are configured so DejaGNU knows where the sources are,
but not the build tree.
In this situation, you are likely to be dealing with _two_
LD_LIBRARY_PATHs. One is for the toolchain itself, and the other is
for the programs you build and test.
My patch has dejagnu use the user supplied env var
DEJAGNU_LD_LIBRARY_PATH as LD_LIBRARY_PATH for the programs being
tested. It appears to work well for the compiler tools, and there's a
similar patch for gdb. We've been using them for a few weeks in
house, and I'll make sure they are submitted for review soon.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California