gcc.gnu.org/java/index.html
Management 38 Known bugs Get our announcements: Subscribe! The GNU Compiler for the Java^ 39 tm Programming Language What is GCJ? GCJ is a portable, optimizing, ahead-of-time compiler for the Java Programming Language. It can compile: * Java source code directly to native machine code, * Java source code to Java bytecode (class files), * and Java bytecode to native machine code. Compiled applications are linked with the GCJ runtime, libgcj, which provides the core class libraries, a garbage collector, and a bytecode interpreter. Most of the APIs specified by "The Java Class Libraries" Second Edition and the "Java 2 Platform supplement" are supported, including collections, networking, reflection, and serialization. AWT is currently unsupported, but work to implement it is in progress. Debugging is supported using recent versions of the GNU debugger, 40 GDB. A 41 short tutorial on using GDB to debug GCJ-compiled applications is available. In addition to regular native programming, GCJ can be configured as a cross-compiler, suitable for embedded systems programming. A collection of such packages are in the 46 rhug project. January 22, 2004 Graydon Hoare has checked in 49 a patch to implement Swing buttons. This is the first working Swing code, a major improvement. January 9, 2004 Andrew Haley has checked in 51 a large reorganization of -findirect-dispatch. This is an important step toward the new binary compatibility ABI. September 3, 2003 Jeff Sturm has adapted Jan Hubicka's call graph optimization code to gcj. This code improves gcj's method inlining abilities with support for out-of-order methods and inter-class method calls, along with improved code size heuristics. August 4, 2003 Gary Benson from Red Hat has released 52 Naoko: a subset of the 53 rhug packages that have been repackaged for eventual inclusion in Red Hat Linux. Naoko basically comprises binary RPMS of Ant, Tomcat, and their dependencies built with gcj. August 2, 2003 Tom Tromey, Andrew Haley and others from Red Hat win the 54 Fast Free Eclipse Prize. August 1, 2003 A team of hackers from Red Hat has released RPMS for a version of 55 Eclipse, a free software IDE written in Java, that has been compiled with a modified gcj. We'll be integrating the required gcj patches into cvs in the near future. This is an important step towards better high-level optimizations for Java. July 30, 2003 Thanks to Andreas Tobler and Jeff Sturm, libgcj is now built by default for Darwin. This is a plugin to allow execution of applets in web browsers like Mozilla, Konqueror, and Opera. January 3, 2003 Jeff Sturm implemented libffi closures for SPARC so that libgcj's bytecode interpreter is now available on SPARC Solaris hosts. January 1, 2003 The January 2003 issue of Linux Journal contains the article 60 Compiling Java with GCJ by Per Bothner. For questions related to the use of GCC, please consult these web pages and the 65 GCC manuals. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
|