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 multiple source files at once


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

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