This is the mail archive of the gcc@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]

Re: Specifying command line arguments in a file?



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.


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