hi friends,
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. I can not built success. I have no idea how to process next. Maybe I am wrong at first for use incorrect parameter. So I write the email to you and try to get help from gcc group. I hope get your suggestions and how I can built out gcj by cross complier. Thank you very much! Best regards, Lei Wang