Specifying command line arguments in a file?

DJ Delorie dj@redhat.com
Mon Apr 30 14:30:00 GMT 2001


Mark Mitchell <mark@codesourcery.com> writes:
> We need to bite the bullet and implement -@.  In fact, we should do it

If you do this, please adopt the convention that borland, djgpp, and
cygwin use.  DJGPP has been using it for over twelve years, so I know
adopting it won't cause unexpected problems.  Note: djgpp and cygwin
do this to *all* programs, not just gcc.

The convention is: If an argument begins with '@' and the rest of the
argument is a valid existing file name, arguments are read from the
file (ws-delimited) and inserted into the command line.  If the '@'
isn't followed by a valid existing filename, the argument with the '@'
is left as-is.



More information about the Gcc mailing list