From c33b7bf04a0abea0ca5ed8ca1cbdf0a9127a64db Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 5 Apr 2005 23:46:09 +0000 Subject: re PR libgcj/20750 (libgcj needs a --with-java-home configure option) 2005-04-05 Thomas Fitzsimmons * doc/install.texi (Configuration): Document --with-java-home. 2005-04-05 Thomas Fitzsimmons PR libgcj/20750 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME. * Makefile.in: Regenerate. * configure.ac: Add --with-java-home option. * configure: Regenerate. * external/Makefile.in: Regenerate. * external/sax/Makefile.in: Regenerate. * external/w3c_dom/Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * java/lang/natRuntime.cc (insertSystemProperties): Set java.home to JAVA_HOME macro. From-SVN: r97671 --- gcc/doc/install.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/doc/install.texi') diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 09bc9fc..df43264 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1035,6 +1035,13 @@ particularly useful if you intend to use several versions of GCC in parallel. This is currently supported by @samp{libgfortran}, @samp{libjava}, @samp{libmudflap}, @samp{libstdc++}, and @samp{libobjc}. +@item --with-java-home=@var{dirname} +This @samp{libjava} option overrides the default value of the +@samp{java.home} system property. It is also used to set +@samp{sun.boot.class.path} to @file{@var{dirname}/lib/rt.jar}. By +default @samp{java.home} is set to @file{@var{prefix}} and +@samp{sun.boot.class.path} to +@file{@var{datadir}/java/libgcj-@var{version}.jar}. @item --enable-languages=@var{lang1},@var{lang2},@dots{} Specify that only a particular subset of compilers and -- cgit v1.1