Hi,
I was just experimenting a bit with GCJ.
http://gcc.gnu.org/java/
I tried compiling a jar into native code by writing:
gcj
--classpath="c:\output\eden-common.jar;C:\Java\j2sdk1.4.2\jre\lib\rt.jar;"
c:\output\fsp.jar
but got the following message:
java/lang/Object.java:0: fatal error: the `java.lang.Object' that was found
in `C:\Java\j2sdk1.4.2\jre\lib\rt.jar' didn't have the special zero-length
`gnu.gcj.gcj-compiled' attribute. This generally means that your classpath
is incorrectly set. Use `info gcj "Input Options"' to see the info page
describing how to set the classpath compilation terminated.
Anybody knows what this means?
Am I including the Java run-time library in the wrong way? (if I do not
include that statement in the classpath, he complains about missing the
javax package).
Or i GJC not compatible with JDK 1.4?

Signature
Josef Garvi
"Reversing desertification through drought tolerant trees"
http://www.eden-foundation.org/
new income - better environment - more food - less poverty
Geiregat Jonas - 22 Mar 2004 23:56 GMT
> Hi,
>
[quoted text clipped - 23 lines]
>
> Or i GJC not compatible with JDK 1.4?
For what I know it's far from 100% compatible with JDK 1.4, it doesn't
even support swing ...