From c076e75f302976d9c9befa9951242b70f0604ace Mon Sep 17 00:00:00 2001 From: David Daney Date: Tue, 22 May 2007 04:06:06 +0000 Subject: [PATCH] install.texi (Building a cross compiler): Add requirements for Java cross compiler. * doc/install.texi (Building a cross compiler): Add requirements for Java cross compiler. From-SVN: r124936 --- gcc/ChangeLog | 5 +++++ gcc/doc/install.texi | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 857a5fa5d49..88f685c4de5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-05-21 David Daney + + * doc/install.texi (Building a cross compiler): Add requirements + for Java cross compiler. + 2007-05-21 Andrew Pinski PR middle-end/31995 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index fa17564574c..690afbfbcf7 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1767,6 +1767,13 @@ native compiler. You can then use the native GCC compiler to build the 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: -- 2.30.2