gpt4 book ai didi

c++ - 有谁知道 "-FC"选项在 gcc g++ 中的作用?

转载 作者:搜寻专家 更新时间:2023-10-31 02:00:09 27 4
gpt4 key购买 nike

有人知道 g++ 中“-FC”选项的作用吗?

我在构建命令行 g++ 命令的 SConstruct 脚本中有它,我已经搜索过 google

最佳答案

你知道,如果都失败了,请阅读手册 :-)。

Fdir

Add the framework directory dir to the head of the list of directories to be searched for header files. These directories are interleaved with those specified by -I options and are scanned in a left-to-right order. [...]

来源:http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/Darwin-Options.html#Darwin-Options

所以 -FC 显然会将框架目录“C”添加到头文件搜索路径中。

关于c++ - 有谁知道 "-FC"选项在 gcc g++ 中的作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2363810/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com