This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling jars into libraries w/ dependencies


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]