[cp-patches] ask help about cross complier of supportting java

Andrew Haley aph@redhat.com
Wed Apr 17 16:48:00 GMT 2013


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.



More information about the Java mailing list