A gcj command is like a gcc command, in that it consists of a number of options and file names. The following kinds of input file names are supported:
.classfiles, all of which are compiled. The archive may be compressed. Files in an archive which don't end with ‘.class’ are treated as resource files; they are compiled into the resulting object file as ‘core:’ URLs.
.javasource files, but that may change.) Each named file is compiled, just as if it had been on the command line.
You can specify more than one input file on the gcj command line,
in which case they will all be compiled. If you specify a
option, all the input files will be compiled together, producing a
single output file, named FILENAME.
This is allowed even when using
but not when using
(This is an extension beyond the what plain gcc allows.)
(If more than one input file is specified, all must currently
.java files, though we hope to fix this.)