Long Command Lines and @FILE

DJ Delorie dj@redhat.com
Thu Sep 16 18:58:33 GMT 2021


> And does GCC have something similar? It seems likely to hit it there as well.

Yes...

File: gcc.info,  Node: Overall Options,  Up: Invoking GCC

'@FILE'
     Read command-line options from FILE.  The options read are inserted
     in place of the original @FILE option.  If FILE does not exist, or
     cannot be read, then the option will be treated literally, and not
     removed.

     Options in FILE are separated by whitespace.  A whitespace
     character may be included in an option by surrounding the entire
     option in either single or double quotes.  Any character (including
     a backslash) may be included by prefixing the character to be
     included with a backslash.  The FILE may itself contain additional
     @FILE options; any such options will be processed recursively.



More information about the Binutils mailing list