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

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


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.


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