This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[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:

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