This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compiling multiple source files at once
- To: java at gcc dot gnu dot org
- Subject: Re: compiling multiple source files at once
- From: Mo DeJong <mdejong at cygnus dot com>
- Date: Mon, 5 Feb 2001 18:25:50 -0800 (PST)
On 5 Feb 2001, Per Bothner wrote:
...
> I also added support for:
> gcj -c -o foo.o @foo.list
> where foo.list is a file containing a list of input file names.
> This feature (which also exists in Sun's javac) is sometimes
> convenient, especially is there may be problems with overlong
> command lines. The multiple-input-files-on-the-command-line
> is essentially syntactic sugar for this feature. I.e.
> gcj -c -o foo.o A.java B.java C.java
> is converted by jvspec to:
> gcj -c -o foo.o @/tmp/tmpfile
> where /tmp/tmpfile contains "A.java\nB.java\bC.java\n".
If you are interested in some test cases for the @file
argument feature, see the following set of Jacks tests:
http://oss.software.ibm.com/developerworks/opensource/cvs/jikes/~checkout~/jacks/docs/tests.html#argument-expansion-non-jls
cheers
Mo DeJong
Red Hat Inc