This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] doc, Add java cross compiler instructions


Tom Tromey wrote:
"Gerald" == Gerald Pfeifer <gerald@pfeifer.com> writes:

Gerald> Should we say "Java" instead of "java" in this patch and the ChangeLog?


ChangeLog, I doubt it matters.  For the docs, "Java programming
language support" and ".java source files" is probably more correct.

Gerald> Apart from this, the patch looks fine to my eyes.  It would be good to
Gerald> get an ACK from a Java or build system maintainer, though.

Fine by me, thanks David & Gerald.
This is what I committed:

2007-05-21 David Daney <ddaney@avtrex.com>

       * doc/install.texi (Building a cross compiler): Add requirements
       for Java cross compiler.


Index: doc/install.texi
===================================================================
--- doc/install.texi	(revision 124850)
+++ doc/install.texi	(working copy)
@@ -1767,6 +1767,13 @@ native compiler.  You can then use the n
 cross compiler.  The installed native compiler needs to be GCC version
 2.95 or later.
 
+If the cross compiler is to be built with support for the Java
+programming language and the ability to compile .java source files is
+desired, the installed native compiler used to build the cross
+compiler needs to be the same GCC version as the cross compiler.  In
+addition the cross compiler needs to be configured with
+@option{--with-ecj-jar=@dots{}}.
+
 Assuming you have already installed a native copy of GCC and configured
 your cross compiler, issue the command @command{make}, which performs the
 following steps:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]