Multiple file compilation patch

Bryce McKinlay bryce@albatross.co.nz
Sun Mar 18 00:52:00 GMT 2001


Per Bothner wrote:

> > $ gcj -c at/dms/classfile/*.java
>
> This case should work as a *multiple* compilations of a single .java
> file each time, because there is no -o flag.  I.e jc1 should be
> invoked once per .java file.  It seems to do so when I tried a test.

Yes, you're right. I actually meant something like "gcj --shared
at/dms/classfile/*.java -o libclassfile.so" I also figured out you can just
omit the "-o" and trick it into using the old behaviour, then just rename
the resulting a.out to whatever was wanted.

> If you can send me the application, I will try to take a look.



More information about the Java mailing list