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.

[参考译文] SAFETI-HALCOGEN-CSP:具有最新 CCS 版本的 CSP、TAU 的编译器问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/984493/safeti-halcogen-csp-csp-with-recent-ccs-version-compiler-issue-with-tau

器件型号:SAFETI-HALCOGEN-CSP

我正在尝试使用 HALCoGenTAU 01.00.00执行单元测试。 在编译测试之前、所有内容似乎都在工作。  

测试顺序:\Test\ADC1\FuncTest
正在生成 makefile....通过...
正在生成 TCF 文件...通过...
正在验证和构建测试序列...
由于编译错误导致生成失败...请检查\Test\ADC1\FuncTest\Debug\CompileLog.txt ...

查看编译器日志会发现错误、它们都是相同的

'生成文件:..\..\..\..\..\..\..\source\dabort.asm'
'调用:ARM 编译器'
C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/cl470 -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --diag_warning=261 --diag_warning=118 --diag_warning=225 --diag_error=189 --obj_error=551 --display_error=551 --display_error_include_path="-include_path=cn"--/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include --include_path="-include_path=en_path="-cn"--ine_display_path=94: "...\..\..\..\..\..\..\source\dabort.asm"
C:\MyProject\Test\ADC1\FuncTest\\Debug\Makefile.mk:81:目标'.\Debug\dabort.obj'的配方失败
Process_begin:CreateProcess (NULL、C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/cl470 -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g -994警告=261 --diag_warning=118 --diag_warning=225 --diag_error=189 --enum_error=/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include --diag_include_display_type=---display_type=jet_type=ine.h ..\..\..\..\..\..\source\dabort.asm、...) 失败。
make (e=2):系统找不到指定的文件。

我假设它找不到  cl470 、因为该文件不在那里。 我认为 TI  在某个时候将其编译器名称从 cl470更改为 armcl ( 我在 Coverity 方面遇到了类似的问题)。 相对于 makefile 的运行位置、asm 文件的路径是正确的。 我尝试在 bin 目录中创建一个指向 armcl 的名为 cl470的快捷方式文件、但这不起作用。 还有其他事情发生了吗? 是否有方法更改编译器尝试使用的内容、或者是否有方法仅下载将与此配合使用的编译器。 我尝试在此 Win10上安装 CCS5.4、但它不起作用。