compiling jars into libraries w/ dependencies

Tom Tromey tromey@redhat.com
Mon May 7 19:24:00 GMT 2001


>>>>> "Alex" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:

>> stewart@neuron.com writes:
>> what magic command-line do I pass to the second gcj to get it to
>> compile?

Alex> Use --CLASSPATH:
Alex>   gcj --CLASSPATH="c.jar" b.jar -c
Alex>   gcj --CLASSPATH="b.jar" a.jar -c

Incidentally this option and the various other ways to control class
searching are documented in the gcj manual.  I don't think it is
online yet though.

Tom



More information about the Java mailing list