|
| |
| | NewsForge The GNU Compiler for Java comes of age |
 | | The GNU Compiler for Java (GCJ), a free software implementation of Java, has been in development for seven years, but with the Free Software Foundation's recent call for volunteers, the project is suddenly receiving more attention than ever before. |  | | The GCJ works closely with the GNU Classpath community, which, like GCJ, is developing free versions of Java's class libraries. |  | | GCJ project members are also in contact with the communities working on various Java applications, and with Debian and Ubuntu, two GNU/Linux distributions that have expressed strong interest in shipping GCJ. |
|
http://programming.newsforge.com/programming/05/06/01/2055245.shtml
(1612 words)
|
|
| |
| | gcj - phpMan |
 | | For instance, `gcj' might need to load a class that is referenced by the file it has been asked to compile. |  | | However, `gcj' implements the encoding named `UTF-8' internally, so if you choose to use this for your source files you can be assured that it will work on every host. |  | | With this option `gcj' assumes that this information is stored in a hash table and not in the object itself. |
|
http://www.chedong.com/phpMan.php/info/gcj
(11703 words)
|
|
| |
| | [No title] |
 | | For each run-time object that describes a class, method or field that gcj code expects, there exists a surrogate kaffe object that describes the very same class, method, or field. |  | | One overriding priority when doing this work was to accomplish it in a way that would allow a *stock gcj installation* to be used to build shared object files that could be used with Kaffe. |  | | Similarly, a class's method, field, interface, and dispatch table are created from their gcj counter parts. |
|
http://www.kaffe.org/doc/kaffe/FAQ.gcj
(771 words)
|
|
| |
| | LWN: GCJ - past, present, and future |
 | | GCJ 4 is the result of seven years of work by a large and active community of Free Software hackers. |  | | GCJ 4, part of GCC 4.0, adds more features to easily integrate programs written using the GCJ development environment with the rest of the GNU platform while being even more compatible with the traditional Java platforms then previous releases. |  | | One of the main goals of the GCJ 4 effort was to bring all the advantages of the “radically traditional” approach to any program written in the Java programming language without needing any application-level changes. |
|
http://lwn.net/Articles/130796
(7708 words)
|
|
| |
| | Compiling Java with GCJ Linux Journal |
 | | Finally, GCJ is free software, based on the industry-standard GCC, allowing it to be freely modified, ported and distributed. |  | | GCJ can then make use of all the optimizations and tools already built for the GNU tools. |  | | Additionally, GCJ can do more sophisticated and time-consuming optimizations than a just-in-time compiler can. |
|
http://www.linuxjournal.com/article/4860
(5625 words)
|
|
| |
| | The GCJ FAQ - GNU Project - Free Software Foundation (FSF) |
 | | For these dependencies, GCJ will favour.class files if they are available because it is faster to parse a class file than source code. |  | | GCJ looks for classes to compile based on the CLASSPATH environment variable. |  | | Specific examples include loop structure (gcc generates better code with explicit loops rather than with the equivalent spaghetti code), array initializers, and the JDK 1.1 `CLASS.class' syntax, all of which are represented using more low-level constructs in bytecode. |
|
http://gcc.gnu.org/java/faq.html
(2468 words)
|
|
| |
| | FedoraForum.org - Java programming in gcj |
 | | Another question in my mind is that, whether we could use gcj to create a.class file instead of binary file. |  | | But my gcj doesn't work, but saying the it could not find the system.io package in the system. |  | | gcj won't build.class files - it's not intended to do that. |
|
http://www.fedoraforum.org/forum/showthread.php?t=27943
(681 words)
|
|
| |
| | Personal info for Anthony |
 | | For gcj, this means that we're finally getting some decent infrastructure to build important java-specific optimizations around (escape analysis, array bounds checking removal, etc). |  | | Notes: My dabblings in open source software development center around GNU gcj and related projects. |  | | Now that GCC has the basic SSA infrastructure in place, the focus will be on replacing (or supplementing) the old, low level RTL based optimizations with SSA versions. |
|
http://www.advogato.org/person/Anthony
(980 words)
|
|
| |
| | GCJ and JHBuild |
 | | GCJ's AWT peers depend on GTK which in turn depends on 12 other packages directly or indirectly. |  | | When you're developing packages like GCJ and Java-GNOME that use the GNU autotools, it's best to separate the build, source, and installation directories, if possible. |  | | The GCJ module file that is referenced in the sample |
|
http://people.redhat.com/fitzsim/gcj-and-jhbuild.html
(610 words)
|
|
| |
| | Embedded JVM Support |
 | | All the classes are given to the GCJ compiler to get the SNMP Agent libraries. |  | | To create a static library the classes should be converted first to object files (extension.o files) using GCJ. |  | | Extracting the AdventNetSnmpAgent_GCJ.jar : Since the GCJ compiler does not look into jar files for the classes, the AdventNetSnmpAgent_GCJ.jar file has to be manually extracted. |
|
http://www.adventnet.com/products/javaagent/help/snmp_agent/snmp/j_snmp_embedjvm.html
(1756 words)
|
|
| |
| | Building GCJ for Windows |
 | | I had written this document to avoid having to individually answer frequent queries on this process as well as to encourage people to experiment with creating GCJ for Windows customised to their liking. |  | | Since GCC/GCJ is Free Software and you have the complete source code available for it, you might sometimes find that you can solve a problem yourself by patching it. |  | | Build a GCJ on Linux that runs on Linux but creates executables for Windows (known as a "cross compiler") |
|
http://ranjitmathew.hostingzero.com/phartz/gcj/bldgcj.html
(1548 words)
|
|
| |
| | mod_gcj - Serving Gnu-compiled Java(tm) with Apache |
 | | If you want to check out mod-gcj, make sure you build a GCJ snapshot from branch gcc-4_0-branch (or just wait until GCC 4.0 is released, which should happen soon). |  | | It looks like all the classloader problems that hampered development and practical use of mod-gcj in the past have been fixed. |  | | I'm still busy with other projects, so any active help is highly appreciated. |
|
http://mod-gcj.sourceforge.net
(606 words)
|
|
| |
| | Create native, cross-platform GUI applications, revisited |
 | | If you are running a version of Linux/UNIX without GCJ, see Resources for instructions on compiling GCJ in your environment. |  | | Follow these instructions to install GCJ 3.2 on your environment. |  | | For Windows, see the sidebar Installing GCJ 3.2 on Windows for installation instructions. |
|
http://www-106.ibm.com/developerworks/java/library/j-nativegui2
(2714 words)
|
|
| |
| | Running Eclipse with gcj/gij |
 | | Luckily the GNU project has two software projects that come to the rescue. |  | | XQuery to native code.) If you are interested in other Free Software running on top of gcj, please checkout RHUG setup by Anthony Green. |  | | Please checkout their free software projects, Jaxup, formatjava and Sftp File Synchronization. |
|
http://klomp.org/mark/gij_eclipse
(530 words)
|
|
| |
| | Java USB Camera Tools |
 | | If you try building with GCJ 3.0, you'll notice that the name mangling has changed, so if you're using the latest GCC distribution with the Source RPM you will need to modify the Makefile's linking instructions appropriately. |  | | This binary portability problem should vanish when the RPM can rely on GCJ 3.x installation everywhere. |  | | If you want to see the picture metadata from EXIF headers (time picture was taken, f/2.8 at 1/250 second, etc) look at the jhead program in the links section. |
|
http://jphoto.sourceforge.net
(584 words)
|
|
| |
| | gcjlib |
 | | However this is often too demanding on memory and CPU for large jar files. |  | | In addition to automatic shared library construction, gcjlib will detect and attempt to resolve all library dependencies at link time. |  | | This class loading feature is described in more detail in the |
|
http://www.spindazzle.org/gcjlib
(363 words)
|
|
| |
| | jGuru: Can I compile ANTLR to a binary executable (with GCJ?)? |
 | | This generates a lot of output which can be ignored and hopefully a libantlr.so which can be copied into the LD_LIBRARY_PATH, eg to /usr/local/lib. |  | | This should result in a small binary (56K on my host) which just loads the libantlr.so. |  | | First make a shared library containing antlr classes: |
|
http://www.jguru.com/faq/view.jsp?EID=138
(237 words)
|
|
| |
| | GCJ |
 | | Probably only the Emacs IDE can be used with GCJ. |  | | I use Emacs as my IDE, but I am not expecting anyone to follow in my footsteps. |  | | If your program is entirely contained in source-code file |
|
http://sjwebserver.unbsj.ca/~owen/courses/3323-2004/java/node2.html
(199 words)
|
|
| |
| | Debian -- gcj-3.3 |
 | | Java development headers and static library for use with gcj |  | | Java runtime library for use with gcj (jar files) |  | | GCJ is a front end to the GCC compiler which can natively compile both Java(tm) source and bytecode files. |
|
http://packages.debian.org/testing/devel/gcj-3.3
(134 words)
|
|
| |
| | The Mauve Project |
 | | Kaffe project, the GNU Classpath project, and the GCJ project. |  | | The Mauve Project is a collaborative effort to write a free test suite for the Java&; class libraries. |  | | Mauve now incorporates the excellent Jacks compiler test suite. |
|
http://sources.redhat.com/mauve
(180 words)
|
|
| |
| | GCJ - Wikipedia, the free encyclopedia |
 | | CNI is just a set of helper functions and conventions built on the idea that C++ and Java have the *same* calling convention and object layout; they are binary compatible. |  | | The Compiled Native Interface (CNI) is a software framework for the GNU GCJ compiler which allows Java code to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in C++. |  | | The GNU Compiler for Java (GCJ) is a compiler for the Java programming language that is part of the GNU Compiler Collection (GCC). |
|
http://en.wikipedia.org/wiki/GCJ
(361 words)
|
|
| |
| | The Visual Editor |
 | | Integrating the GCJ cross-compiler into Eclipse so that one instance of Eclipse can create binaries for any platform that can host a GCJ application. |  | | Creating a cross-compilation project build system so that a developer can flag any of the possible cross-compilation target systems and have a binary for each platform a few minutes later. |  | | Recently, I have been thinking about the advantages of having native compilation of Java code using GCJ. |
|
http://www.coconut-palm-software.com/the_visual_editor/2004/10/30
(1014 words)
|
|
| |
| | Is it possible to include gcj in the system gcc suite? |
 | | Is it possible to include gcj in the system gcc suite? |  | | Just my 2 cents, Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming |  | | Previous message: Is it possible to include gcj in the system gcc suite? |
|
http://lists.freebsd.org/pipermail/freebsd-arch/2003-May/000526.html
(229 words)
|
|
| |
| | redhat.com The state of Java on Linux |
 | | He has worked on many free software projects over the years, and co-wrote GNU Autoconf, Automake, and Libtool. |  | | Now add the new jar and shared library to the database. |  | | This example shows the simplest possible approach; when building RPMs a somewhat more complicated approach is taken, one that allows for multiple applications to easily share a single database. |
|
http://www.redhat.com/magazine/012oct05/features/java
(1071 words)
|
|
| |
| | Mainframeforum - ClassNotFoundException when loading under GCJ on Solaris |
 | | Now I read where the byte code interpreter for GCJ is only available for Linux, which |  | | Does anyone know of the schedule for implementing the byte code interpreter for other |  | | Mainframeforum > Systems Engineering and Programming > Programming > JAVA > comp.lang.java.programmer > ClassNotFoundException when loading under GCJ on Solaris |
|
http://mainframeforum.com/t360751.html
(394 words)
|
|
| |
| | [Dev] Python 2.4 and PyLucene/gcj updates scheduled for Tuesday next week |
 | | On other Linux flavors you may need to make sure that you install the latest gcj - at least on Debian (unstable) there seems to be a suitable gcj available. |  | | We have some serious regression bugs in our tree, for example Chandler/system freeze on Linux and I would advice you to fix those regressions by next Tuesday. |  | | This is going to be a major change - in addition to new python, most external and internal packages will be recompiled and packaged, and the required gcj version number will be bumped up. |
|
http://lists.osafoundation.org/pipermail/dev/2004-December/002163.html
(257 words)
|
|
| |
| | libswt: the shortest route from gcj to gui |
 | | The Eclipse project built this graphical toolkit because they didn't want to use Swing, which is Sun's solution for GUI Java code. |  | | libswt is just the SWT from the Eclipse project, repackaged so that it can be easily built into a native "so" on Linux (and possibly other OS's which can build GTK and GCJ). |  | | Of course, you have to have a working installation of GCC and GCJ, the GNU compiler for Java, too. |
|
http://libswt.sourceforge.net
(471 words)
|
|
| |
| | Guide to GNU gcj: |
 | | A Java class can implement zero or more interfaces, in addition to inheriting from a single base class. |  | | In order to make working with such classes easier GCJ provides the macro |  | | Compatibility between gcj and other tools for Java |
|
http://yakko.cs.wmich.edu/~camber/gcj.html
(9501 words)
|
|
| |
| | [Swarm-Support] gcj - swarm - exe |
 | | > > So gcj - linux - exe ; also I need a windows exe ; > never mind if I need to supply with jre, I dont want > to compile it on windows, I want to provide them > with > an executable. |  | | > > >Like I want to use some other external jar to > make > > an > > >executable, how do I do that using gcj? |  | | This > generally means that your classpath is incorrectly > set. |
|
http://www.swarm.org/pipermail/support/2003-August/013684.html
(396 words)
|
|
| |
| | Making it stick.: GCJ to save Java? |
 | | GCJ is a presage of the end of the virtual machine. |  | | I believe that the GCJ compiler for Java will have a substantial influence on that language's future, maybe extending Java's future by a decade. |  | | This compiler will itself boost Java on the server, and in conjunction with Eclipse/SWT revitalize Java as a key language for desktop applications. |
|
http://patricklogan.blogspot.com/2003/08/gcj-to-save-java.html
(124 words)
|
|
| |
| | gcj : Compatibility |
 | | Unfortunately, programmers often want to use newer versions of certain packages, such as those provided by the Apache Software Foundation's Jakarta project. |  | | Extra features unique to gcj ============================ The main feature of `gcj' is that it can compile programs written in the Java programming language to native code. |  | | If the class cannot be found this way the system classloader tries to use the `libgcj' bytecode interpreter to load the class from the standard classpath. |
|
http://techpubs.sgi.com/library/dynaweb_docs/fw/usr/freeware/info_tpl/gcj/gcj_3.html
(481 words)
|
|
| |
| | FedoraForum.org - applet viewing with gcj |
 | | However I want to know if there exist any program like appletviewer (of jdk) to view html files that contain reference to applets. |  | | I have learned how to compile java files using gcj. |  | | There is a gij interpreter that comes with gcj and so does most of what the java command does. |
|
http://www.fedoraforum.org/forum/showthread.php?t=29207
(154 words)
|
|
| |
| | my gcj stuff |
 | | The UCSD Java Benchmark covers simple loops and method calls, and times a System.gc() call. |  | | In particular, it demonstrates that gcj's exception-throwing is rather slow. |  | | Method invocation benchmark - a simple test I put together to time different types of method calls (private, public, abstract, interface, native). |
|
http://waitaki.otago.ac.nz/%7Ebryce/gcj
(322 words)
|
|
| |
| | LWN: OpenOffice.org 2.0 and GCJ 4 |
 | | We want to make sure that when OpenOffice 2.0 final is released everything builds and runs out of the box with GCC 4.0 for all Free Software users. |  | | OpenOffice and GCJ hackers have worked hard to make sure that all the new features of the next version of OpenOffice 2.0 written in the java programming language will build and run with GCJ, the GNU Compiler for java part of GCC 4.0. |  | | This support was just very recently added to GCJ and OpenOffice and does not yet work completely out of the box. |
|
http://lwn.net/Articles/136124
(291 words)
|
|
| |
| | Personal info for tromey |
 | | I've been wondering how I could ever have confidence in a verifier implementation. |  | | It turns out that the libgcj verifier has some bugs (and the gcj verifier has rather more). |  | | As usual, a ton of patches have been waiting for the final stage of the release process. |
|
http://www.advogato.org/person/tromey
(1020 words)
|
|
| |
| | GCC/GCJ for MingW |
 | | Let me know if there is a better place to put this snapshot, if I have made factual errors or could have done things better, and any other comments you might have. |  | | SwingWT is a Swing and partial AWT implementation which uses SWT under the covers. |  | | Here, you can download a Win32 (MingW) build of GCC, which can compile C, C++ and Java code into native Windows executables! |
|
http://www.thisiscool.com/gcc_mingw.htm
(933 words)
|
|
| |
| | Koders - gcj_mlc.c |
 | | GC_is_initialized) return; UNLOCK(); GC_INVOKE_FINALIZERS(); last_finalized_no = GC_gc_no; LOCK(); } /* Allocate an object, clear it, and store the pointer to the */ /* type structure (vtable in gcj). |  | | * */ /* Boehm, July 31, 1995 5:02 pm PDT */ #ifdef GC_GCJ_SUPPORT /* * This is an allocator interface tuned for gcj (the GNU static * java compiler). |  | | But the immediate goal * is to get better gcj performance. |
|
http://www.koders.com/c/fid12E435C73BC2681C49535632A61F35AE4B0136AD.aspx
(692 words)
|
|
| |
| | 2005 March [ ZefHemel.com ] |
 | | SWIG: software that makes it easier to write extension modules for various languages, such as Python, Perl and Ruby |  | | GCJ is a Java to native machine compiler as you may know. |  | | PyLucene: the, with GCJ compiled, version of one of the best free search libraries: Lucene. |
|
http://www.zefhemel.com/archives/2005/03
(8975 words)
|
|
| |
| | Gnome-GCJ |
 | | GCJ is capable of compiling Java source code to native machine code, which makes Java code almost as fast as C++ code. |  | | As the interface between Java and GTK+, CNI (Cygnus Native Interface) and C++ will be used instead of the more traditional JNI and C. This means that support for other Java runtimes has been sacrificed in favour of GCJ and its faster CNI. |  | | The Gnome-GCJ project proudly announces the release of Gnome-GCJ 0.19.0. |
|
http://gnome-gcj.sourceforge.net
(295 words)
|
|
| |
| | GCJ Problem |
 | | it appears to be a gcj / mingw problem (as I believe it is mingw which |
|
http://javaquestions.org/ftopic4246.html
(106 words)
|
|
| |
| | [gentoo-user] gcc: -gcj +gtk - How to tell emerge, that gcc does not need gtk? |
 | | Well, on this system gcc is emerged without gcj, so +gtk has no meaning. |  | | But when I want to remove gtk from the system, e.g. |  | | (>=x11-libs/gtk+-2.2) >=media-libs/libart_lgpl-2.1 [...] I understand it this way: emerge, if I want to compile gcc with gcj, then have a look at the gtk use flag. |
|
http://www.talkaboutsoftware.com/group/linux.gentoo.user/messages/67422.html
(226 words)
|
|
|