This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [win32] -Djava.library.path
- From: Tom Tromey <tromey at redhat dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: 18 Sep 2006 11:42:36 -0600
- Subject: Re: [win32] -Djava.library.path
- References: <450D6615.2030509@gmx.ch>
- Reply-to: tromey at redhat dot com
>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:
Marco> I use GCJ 4.2.0 (20060630) on linux and windows.
Marco> While passing -Djava.library.path=foobar to GCJ leads to the expected
Marco> behaviour on linux, it seems to be ignored on windows.
Marco> Is this a known bug/problem (I didn't find anything on google or the
Marco> GCC bugzilla) or shall I make a bug report?
Marco> Has anyone an idea for a workaround?
Offhand I would expect this to work ok. You might verify that
USE_LTDL is set on Windows; see the two definitions of _Jv_SetDLLSearchPath
in natSystemProperties.cc.
Filing a bug report is a good idea. Put '[win32]' in the synopsis.
Note though that Windows-specific things are worked on very rarely; in
fact we're having a problem getting an existing patch tested on
Windows, and this is turning into a blocker.
Tom