compiling jars into libraries w/ dependencies

Tom Tromey
Mon May 7 19:24:00 GMT 2001

>>>>> "Alex" == Alexandre Petit-Bianco <> writes:

>> 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.


More information about the Java mailing list