This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器:TI CGT ARM 16.9.3 LTS 编译器多文件选项

Guru**** 2616025 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/651121/compiler-ti-cgt-arm-16-9-3-lts-compiler-multifile-option

工具/软件:TI C/C++编译器

尊敬的所有人:

对于 ARM 编译器、有一个选项:

--multifile、--no_multifile
此选项启用或禁用多文件编译。

选择--multifile 时、编译器会对命令行中指定的所有文件执行优化、而不是对每个单独的文件执行优化。 指定的文件被编译成一个目标文件。

TI CGT ARM 16.9.3 LTS 是否具有此选项? 我没有找到它。 我想确保文件是单独编译的、但是如果我在 编译标志中添加了--no_multifile、则无法识别它。 编译后我知道我有单独的 obj 文件、因此默认情况下这是  --no_multifile 设置、对吧?

此致、Eric