This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: RFA: set LD_LIBRARY_PATH
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: fitzsim at redhat dot com (Thomas Fitzsimmons)
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 1 Sep 2005 21:14:10 -0400 (EDT)
- Subject: Re: Patch: RFA: set LD_LIBRARY_PATH
>
>
> --=-s7o6SrJeLDGqLVrLyaWE
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
>
> Hi,
>
> Sun's JRE includes $JAVA_HOME/lib/<arch> in its LD_LIBRARY_PATH so that
> users don't need to specify LD_LIBRARY_PATH manually. This patch makes
> libgcj do the same when the --with-java-home configure option is
> specified.
>
> OK for mainline?
Except for the fact there are more than LD_LIBRARY_PATH on some targets.
For an example there is DYLD_LIBRARY_PATH on Darwin, some other targets
have some of the following:
LD_RUN_PATH
SHLIB_PATH
LD_LIBRARYN32_PATH
LD_LIBRARY64_PATH
LD_LIBRARY_PATH_32
LD_LIBRARY_PATH_64
(found by looking at testsuite/lib/target-libpath.exp).
-- Pinski