This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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