This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [cp-patches] ask help about cross complier of supportting java
- From: Andrew Haley <aph at redhat dot com>
- To: 阿林 <wanglei403xa at 163 dot com>
- Cc: java at gcc dot gnu dot org, classpath-patches at gnu dot org
- Date: Wed, 17 Apr 2013 17:48:38 +0100
- Subject: Re: [cp-patches] ask help about cross complier of supportting java
- References: <7414e757 dot 7b03 dot 13bdb102578 dot Coremail dot wanglei403xa at 163 dot com>
Hi,
On 12/27/2012 06:32 AM, 阿林 wrote:
> I want to build cross compiler of gcc of 4.4.4. I can built success
> for c,c++. But when I try to add language of java. I failed. I also
> read the document , the cross section is too short and non
> detailed. In the document, only "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 --with-ecj-jar=... ".
>
> Since I use ppc64 and try to build ppc. I don't know how to use this
> option. I use the ecj of 64-bit package, I am not sure if it is
> ok.
That's fine. ecj.jar is good for 32- and 64-bit builds.
Andrew.