0
據我記得一些舊的gcc版本不支持@file選項。我不太確定。有人能給出與此相關的任何指針嗎?所有的gcc版本都支持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.
感謝
的[在線文檔](http://gcc.gnu.org/onlinedocs/)可以一路返回到版本sion 2.95.3。這可能需要一些時間,但很容易檢查所有版本。 – 2013-02-27 08:06:22
另外,假設該選項在某個版本之前的所有版本中都存在,則可以使用二分搜索。 – Electro 2013-02-27 08:09:20
看來gcc 4.1.2不支持它。 – 2013-02-27 09:10:02