MessageBundle ???
dj_def
dj_def@webmail.it
Mon Apr 4 12:00:00 GMT 2011
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...)
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)
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).
The other test with the openConnection() function now succeeds :)
I did as you told me:
gcj --resource java/util/iso4217.properties -c
pathTo\libjava\classpath\resource\java\util\iso4217.properties -o
iso4217.properties.o
Thank you for all!
More information about the Java
mailing list