spaces in filenames/paths
Per Bothner
per@bothner.com
Mon Jun 14 12:43:00 GMT 2004
Andrew Haley wrote:
> This seems to be part of Per's "compiling multiple Java source files
> at once" patch from
> http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01003.html
>> + char *ch = *next;
> + if (ch == '\n' || ch == '\r' || ch == '\t' || ch == ' '
> + || ch == '&' /* FIXME */)
>> but are you sure that this is what Ant's gcj compiler adapter is doing?
We could change the patch to require veritical space (newline or cr) to
separate filenames in an @filename - though that is not compatible with
the documentation for javac. We can also preserve the meaning of
@filename, but figure out some other way to handle multiple filenames
on the command line. The latter makes sense, as there is now generic
support for compiling multiple sources files in one cc1/cc1plus/...
executation, so we should re-think how this should be done.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list