Re: [cp-patches] ask help about cross complier of supportting java
Andrew Haley <[email protected]> Wed, 17 Apr 2013 17:48:38 +0100
| Newsgroups | gmane.comp.gcc.java.devel,gmane.comp.java.classpath.patches |
|---|---|
| Message-ID | <[email protected]> |
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.