This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4.2 Project: "@file" support
- From: Ian Lance Taylor <ian at airs dot com>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: 25 Aug 2005 10:27:12 -0700
- Subject: Re: 4.2 Project: "@file" support
- References: <200508250450.j7P4oWkW029722@sparrowhawk.codesourcery.com>
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