This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PATH_SEPARATOR not platform independent
- 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: 08 Oct 2006 17:22:37 -0600
- Subject: Re: PATH_SEPARATOR not platform independent
- References: <45295726.5080506@gmx.ch>
- Reply-to: tromey at redhat dot com
>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:
Marco> I found the problem why -Djava.library.path doesn't work for win32:
Marco> prims.cc uses "PATH_SEPARATOR" which is always set to ":". Thus it
Marco> works only for linux.
Marco> I now don't know where PATH_SEPARATOR comes from. I assumed that it's
Marco> comimg from gcc/system.h. But adapting it didn't help.
Marco> If someone tells me where it comes from, I'll write a patch.
Nice catch, thanks.
Change it to use _Jv_platform_path_separator and you should be ok.
Tom