This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: 4.2 Project: "@file" support


Mark Mitchell <mark@codesourcery.com> writes:

> I've created a new 4.2 Project page for "response files", which is
> what Microsoft calls files that contain command-line options.
> Conventionally, if you pass "@file" as an argument to a program, the
> file is read, and the contents are treated as command-line options.
> On systems with small command-line buffers, this is a must-have
> feature.

Without getting into whether it's a good idea to overcome OS
limitations in this way, I do think that response files are a useful
feature even on Unix systems.  But on Unix systems I think we need to
at least consider the possibility of real source file names starting
with '@'.  The patch as it stands will have a rather perplexing effect
if such a file is compiled.  Maybe that's OK.

Ian


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