4.2 Project: "@file" support

Ian Lance Taylor ian@airs.com
Thu Aug 25 17:33:00 GMT 2005


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



More information about the Gcc-patches mailing list