This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Getting started with GCJ
- To: Michael J McGonagle <fndsnd at earthlink dot net>
- Subject: Re: Getting started with GCJ
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 8 Nov 2001 18:53:57 -0500 (EST)
- cc: java at gcc dot gnu dot org
On Wed, 7 Nov 2001, Michael J McGonagle wrote:
> So what it comes down to, is how do you compile two classes that are
> mutually dependant on each other?
Either make sure the source directory for each class is in your CLASSPATH,
or compile them all at once, e.g.
gcj -C class1.java class2.java ...
> Also, does anyone know of a simple tool that can handle the compilation
> of a complex project? Do most people use Makefile's?
Makefiles are still widely used, but increasingly often they are generated
by automake etc. rather than written by hand. The Ant tool also seems
to be popular for this.
Certainly libgcj is a complex project, and uses automake/autoconf/libtool
to manage building itself. Also look at http://sources.redhat.com/rhug/
for other examples with gcj.
Jeff