• Advertisement

Archived

This topic is now archived and is closed to further replies.

[java] GCJ

This topic is 6235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Java 1.1 only, and the support for inner classes in Java 1.1 is still experimental.

GJC is the same for all operating systems, BTW, so you will compatible among them all.

Jacob Marner

Share this post


Link to post
Share on other sites
Has anyone had any luck compiling GCJ under cygwin (Windows, obviously)?

I''ve tried a couple of times, but can''t manage to compile libgcj successfully.

Any ideas?

Share this post


Link to post
Share on other sites
quote:
Original post by moregames

Ok, sorry for being unclear. Any other compilers that can compile java to c++?


GJC does *NOT* compile to C++. It compiles to the same intermediary language that GCC compiles to and the GCC backend then compiles that to machine code. Java is never compiled to C++.

Several compiler exist that compile Java to machine code:
Webgain Visual Cafe 4.0 (Expert Edition or larger only JDK 1.2)
IBM Visual Age for Java (Enterprise Edition only JDK 1.1)
TowerJ (but TowerJ has no AWT/Swing support JDK 1.2)

Jacob Marner

Share this post


Link to post
Share on other sites

  • Advertisement