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.

[参考译文] EK-TM4C123GXL:GCC 的编译问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1279264/ek-tm4c123gxl-compile-issue-with-gcc

器件型号:EK-TM4C123GXL
主题中讨论的其他器件:TM4C123GH6PM

您好!

我目前正在尝试将 GCC 与最新版本的 Code Composer Studio (CCS)集成、但在编译过程中始终会遇到以下错误。 此外、我感兴趣的是了解如何将 CMSIS (Cortex 微控制器软件接口标准)整合到我的 TI-CCS 项目中。

如果您能就这些问题提供任何帮助或指导、我们将不胜感激。

谢谢你。

****项目 IDE_CHECK 的配置调试构建****

"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake"-k -j 20 all -O

构建目标:"ide_check.out"
调用:GNU 链接器
"c:/ti/ccs1250/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc-9.2.1.exe -mfpu=fpv4-sp-D16 -dppart_TM4C123GH6PM -og -ffuntion-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -wall -specifications="nosys.specs"-mcpu=cortex-M4 -float、-map、"ide_check.map"-gds/gdsc_aut"-gdsp.t_aut"-gflo"-gflo"-mccd.t_dsp-t_t_dsp-t_dcss.t_dcss.t_deut"。
Makefile:135:目标"ide_check.out"的食谱失败
C:/ti/ccs1250/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe:错误:./main.o 使用 VFP 寄存器参数、ide_check.out 不使用。
C:/ti/ccs1250/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe:合并文件./main.o 的目标特定数据失败
C:/ti/ccs1250/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe:错误:./tm4c123gh6m_startup_ccs_gcc.o 使用 VFP 寄存器参数、而 ide_check.out 不使用
C:/ti/ccs1250/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe:合并文件的目标特定数据失败./tm4c123gh6m_startup_ccs_gcc.o
collect2.exe:错误:LD 返回1退出状态
gmake[1]:***[IDE_check.out]错误1
Makefile: 131:食谱目标'所有'失败
gmake:***[全部]错误2

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

    您好!

     我不是 GCC 编译器的专家。 不知道您是否尝试过使用 GCC 编译诸如 blinky 或 hello 之类的简单示例。 在链接期间是否有相同的错误?

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

    您好!

     我没有听到你的回应。 我希望您的问题能够得到解决。 我现在将关闭该主题。 如果您有更新、您可以回写此帖子、该帖子会将状态更改为打开。