This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libio regressions, shared libs.
- To: law at cygnus dot com
- Subject: Re: libio regressions, shared libs.
- From: Donn Terry <donn at interix dot com>
- Date: Tue, 29 Jun 1999 10:44:05 -0600
- CC: egcs-bugs <egcs-bugs at egcs dot cygnus dot com>
- References: <19475.930640304@upchuck.cygnus.com>
More discussions -> more understanding.
If I interpret the code correctly, the goal was to restore
a working value of LD_LIBRARY_PATH after it had been used for
a test case. For the default case of LD_LIBRARY_PATH being
unset (or null) the code works fine. However, if a value is
needed, then it doesn't work. Saving/restoring the old value
seems to work fine for me, although it doesn't fully meet
AG's needs, I think.
Donn
Jeffrey A Law wrote:
>
> In message <3777A7F9.1A42A802@interix.com>you write:
> > I'm in the situation where I'm compiling and regressing the
> > whole tool path using a freshly built (and thus not installed
> > in the usual places) set of shared libraries. To get the compiler
> > to compile anything, LD_LIBRARY_PATH must be set to where the
> > new shared libraries live. (The compiler is built shared using
> > the new shared libs.)
> >
> > libio regressions (at least; libstdc++ probably, and other maybe) use
> > the dejagnu procedure unix_load to start the compiler. (Specifically
> > gcc/xgcc).
> This sounds like there is something seriously wrong with your setup. This
> works just fine for other folks.
>
> What dejagnu are you using? What variables are set in your environment? Are
> you building in a subdirectory of your source tree? Are you building in
> a subdirectory of $prefix?
>
> jeff
--
===================================================
Donn Terry mailto:donn@interix.com
Softway Systems, Inc. http://www.interix.com
2850 McClelland Dr, Ste. 1800 Ft.Collins CO 80525
Tel: +1-970-204-9900 Fax: +1-970-204-9951
===================================================