This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: RFC: gcj extension directory support
- From: Per Bothner <per at bothner dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Wed, 03 Apr 2002 21:10:05 -0800
- Subject: Re: RFC: gcj extension directory support
- References: <1017874661.1819.9.camel@dhcppc2>
Anthony Green wrote:
> This is a compiler patch for adding support for an "extensions"
> directory. I think it is correct, however we need a doc patch and a
> corresponding libjava patch to install libgcj.jar as
> $(prefix)/share/java/libgcj-VERSION.jar.
I noticed two problems:
#include <dirent.h> may not be portable. It is a Posix.1 header,
not in ANSI C or some old Unix variants. It probably should be
autoconf'd.
jcf_path_extdir_arg only seems to handle a single directory,
but according to the javac doc it should take a path (list of
directories). This isn't critical, and it's easy enough to fix
by adding an extra loop.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/