工具/软件:
工程师联系并报告说、他们无法在 Code Composer Studio 6.0.1 或 10.1.1 中编译代码。 已尝试重新安装、但问题仍然存在、 当他们尝试使用包含编译器工具的 CCS 调用 TI 库时、会引发错误。 他们说几周前工作正常、现在他们收到了 错误。 错误如下: Makefile:86:目标'CT'的配方失败 gmake.exe:***[CT]错误–1073741819
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.
工具/软件:
工程师联系并报告说、他们无法在 Code Composer Studio 6.0.1 或 10.1.1 中编译代码。 已尝试重新安装、但问题仍然存在、 当他们尝试使用包含编译器工具的 CCS 调用 TI 库时、会引发错误。 他们说几周前工作正常、现在他们收到了 错误。 错误如下: Makefile:86:目标'CT'的配方失败 gmake.exe:***[CT]错误–1073741819
我们正在研发 TI TMS570 器件
我们使用 makefile 以及在失败前执行的代码行如下所示:
$(ARMCL)$(LFLAGS4CT)-entry_point ConfigTable --output_file=$(out_file)$(obj_files)$(CMD_FILE)
这些变量设置如下:
ARMCL :=$(CG_TOOL_DIR)/bin/armcl
LFLAGS4CT:=$(common_flags)-z -m“$(map_file)“ --warn_sections --display_error_number --be32 --xml_link_info=./$(BTYPE)/ build.xml
common_flags :=-mv=7R4 --code_state=32 --float_support=VFPv3D16 -Ooff --diag_warning=225 --display_error_number --enum_type=packed
我们在调用以下行时看到的错误:
c:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/bin/armcl /Release/exe/CT.map /Release/exe/CT.out -mv=7R4 --code_state=32 --float_support=VFPv3D16 -Ooff --diag_warning=225 --display_error_number --enum_type=packed -z -m“.xml"--warn_sections“--warn_sections --display_error_number --be /Release/build.xml /Release/obj
Makefile:80:目标'CT'的配方失败
gmake.exe:***[CT]错误–1073741819
他们 调用 gmake.exe 来执行我们的自定义 makefile。
我假设您使用的是“ 带有现有代码的 Makefile 工程 “如以下链接中所述:
这与 Eclipse CDT 自定义 makefile 工程等效。
需要注意的关键是未在使用 CCS 工程。
如果直接在命令行的 makefile 上调用 gmake、是否会发生相同的错误?
尊敬的 Trevor:
对延迟深表歉意、以下是我们编译器团队对此的反馈:
我们进行了一些调试、发现在构建脚本中使用“"时“时存在问题。 gmake 在传递“"时“时抛出错误。 为什么 gmake 有“"问题“问题?
makefile 出现格式问题? 或 您的 环境中的某种东西?
我们对 gmake 没有太多的专业知识、只是 CCS 将其称为底层。 我们只是按原样捆绑 gmake。
--
此致、
Jagadish。