This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
latest dejagnu overwrites LD_LIBRARY_PATH
- To: egcs at cygnus dot com
- Subject: latest dejagnu overwrites LD_LIBRARY_PATH
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 08 Jan 1998 20:17:11 -0200
Hi!
I've had trouble with the latest dejagnu snapshot because I'm used to
testing egcs after it is installed. Unfortunately, on
misp-sgi-irix5.2, where LD_RUN_PATH wouldn't work, I used to set
LD_LIBRARY_PATH pointing to the installed library directory. But now
dejagnu will simply overwrite LD_LIBRARY_PATH, so my setting no longer
works.
I applied the attached patch to dejagnu so that now I can test an
installed egcs, but, since I'm no tcl/expect hacker, I was unable to
fix unix.exp so that it would prepend ld_library_path to
LD_LIBRARY_PATH. Line numbers may be offset, I had to fix manually
the patch because I have lost the original libgloss.exp, but I hope
you get the idea :-)
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
dejagnu.diff