This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: java/lang/natRuntime.cc
>>>+ 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.
>
>
> Well, getenv() is used in one other place in this file too. Thats why
> I decided to use this. I can write a patch included the AIX variable
> later today
I meant the hardcoding of "LD_LIBRARY_PATH" bit
not the "getenv( )" bit. You can probably wait for
more knowledgeable folks to chip in on how this is
to be calculated on other platforms before you
rework the patch. :-)
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/