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]

latest dejagnu overwrites LD_LIBRARY_PATH


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


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