工具/软件:
我想为工程使用 C++17、因此在 CCS Theia 中添加了 MSP430-gcc 编译器。 我使用带有默认编译器(TI v21.6.1.LTS)的"msp430fr599x_1.c Blink LED"示例创建了一个新工程、并构建了没有任何错误的工程。
但是、当我将编译器更改为 GNU v9.3.1.11 (来自 Mitto System Limited)时、我遇到了编译错误。 有人能帮助我了解这些链接器错误吗? 我使用 CCS Theia v 20.1.1
[2]构建目标:"msp430fr599x_1.c.out "
[3]调用: GNU 链接器
[4]"C:/ti/msp430-gcc/bin/msp430-elf-gcc-9.3.1.exe "-mhwmult=f5series -og -g -gdwarf-3 -wall -mcode-region=none -mlarge -wl 、-Map、"msp430fr599x_1.map"-wl、--gc-sections -l"C:/ti/ccs2011/ccs/ccs_base/msp430/include_gcc -mmcu-region=none -mlarge-wl-wll、-msp430fr99599x.lr、-map"-msp430fr599x.stron-cl -------- fr995.link.clcx.1.
[5] makefile:138:目标'msp430fr599x_1.c.out 的配方失败
[6] c:/ti/msp430-gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/bin/ld.exe:../lnk_msp430fr5994.cmd:59:语法错误
[7] collect2.exe:错误: LD 返回1个退出状态
[8] gmake[1]:***[msp430fr599x_1.c.out ]错误1
[9] makefile:134:目标"全部"的配方失败
[10]gmake:***[全部]错误2.