0

私が覚えている限り、いくつかの古いgccバージョンは@fileオプションをサポートしていません。よくわかりません。誰かがこれに関連するポインタを与えることができますか?

参考のために

   @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.

ありがとう

4

1 に答える 1

3

これはここでgccソースにコミットされました:

2005-11-23  Mark Mitchell  <mark@codesourcery.com>

    * doc/invoke.texi: For man pages, include gcc-vers.texi.
    List @file in the option summary.  Include the libiberty
    documentation for @file.
    * gcc.c (main): Call expandargv.
    * Makefile.in (gcc-vers.texi): Define srcdir.

リリース履歴によると、これはGCC4.1に組み込まれているはずです。

于 2013-02-28T01:03:04.537 に答える