MessageBundle ???

Andrew Haley
Mon Apr 4 12:13:00 GMT 2011

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 
> 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 " 
> 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.


More information about the Java mailing list