This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] doc, Add java cross compiler instructions
- From: David Daney <ddaney at avtrex dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Wed, 16 May 2007 13:26:21 -0700
- Subject: [PATCH] doc, Add java cross compiler instructions
This patch adds information I gained about building java cross compilers
to the install documentation.
OK to commit?
:ADDPATCH doc:
2007-05-16 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 124758)
+++ doc/install.texi (working copy)
@@ -1767,6 +1767,12 @@ 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 java support 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: