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]
Other format: [Raw text]

Re: spaces in filenames/paths


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/



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