This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: MessageBundle ???
- From: Andrew Haley <aph at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 04 Apr 2011 13:13:34 +0100
- Subject: Re: MessageBundle ???
- References: <9F062AC5F5744F97B7D244509DC9DE28@e6550>
On 04/04/2011 01:00 PM, dj_def wrote:
> I did other tests: I compiled gcc-4.3.0 (with 4.6 and 4.7 I was unable to
> compile because of libltdl errors and missing jvm.exe) correcting
> Formatter.java and with --enable-maintainer-mode.
> To make it succesfully I had to
>
> 1) sudo ln -sf /usr/bin/i686-linux-gnu-gcj /usr/bin/i686-pc-linux-gnu-gcj
> (I did this because during some gcc configuration process, it detects
> /usr/bin/i686-pc-linux-gnu-gcj instead of /usr/bin/i686-linux-gnu-gcj...
> it could be some ubuntu packaging issue as before compiling I installed the
> whole gcc ubuntu package...)
It should just detect /usr/bin/gcj . What is i686-pc-linux-gnu-gcj doing is
/usr/bin anyway?
> 2) gcj
> /pathToSrcDir/gcc-4.3.0/ecj.jar -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain
> -o ~/moveinecj1
> sudo mv ~/moveinecj1 /usr/bin/ecj1
> sudo chmod +x /usr/bin/ecj1
> (this should be a known issue when cross-compiling)
I don't quite see what the problem is here. Yes, you have to have ecj1
to build with --enable-java-maintainer-mode.
> Well... with this version there is not any "MessagesBundle.properties
> missing resource problem" but the previous problem is not completely solved:
>
> class Test {
> public static void main(String argv[]) {
> System.out.printf("%09.3f%n",3.1415926535);
> }
> }
> this time the program does not crash but also does not print anything (it
> could be normal as now it uses parseInt).
I already said, I think. Formatted floating-point output has not been written.
Andrew.