This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: java/lang/natRuntime.cc
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 18 Aug 2003 12:47:26 +0530
- Subject: Re: Patch: java/lang/natRuntime.cc
- References: <200308190851.42732.konqueror@gmx.de>
> + char* libraryPath = ::getenv ("LD_LIBRARY_PATH");
Sorry, but I don't think this is portable. For example,
on Windows, PATH is used to search for DLLs. My memory
is a bit hazy now, but on AIX it was something like
LD_LOAD_LIBRARY_PATH.
> + // Initialize with prefix.
> + sb->append (JvNewStringLatin1 (PREFIX "/lib"));
On Windows, this might be the "bin" folder (or maybe not,
depending on where the Win32 GCJ distributor decides to
put the DLLs).
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/