Tool/software:
I want to use C++17 for my project, so I have added the MSP430-gcc compiler in CCS Theia. I created a new project using "msp430fr599x_1.c Blink LED" example with the default compiler (TI v21.6.1.LTS), and the project built without any errors.
However, when I changed the compiler to GNU v9.3.1.11 (from Mitto System Limited), I encountered build errors. Can anyone help me understand these linker errors? I am using CCS Theia v 20.1.1
[2]Building target: "msp430fr599x_1.c.out"
[3]Invoking: GNU Linker
[4]"C:/ti/msp430-gcc/bin/msp430-elf-gcc-9.3.1.exe" -mhwmult=f5series -Og -g -gdwarf-3 -gstrict-dwarf -Wall -mcode-region=none -mlarge -Wl,-Map,"msp430fr599x_1.c.map" -Wl,--gc-sections -L"C:/ti/ccs2011/ccs/ccs_base/msp430/include_gcc" -mmcu=msp430fr5994 -o"msp430fr599x_1.c.out" "./msp430fr599x_1.o" -T"../lnk_msp430fr5994.cmd" -Wl,--start-group -lgcc -lc -Wl,--end-group
[5]makefile:138: recipe for target 'msp430fr599x_1.c.out' failed
[6]c:/ti/msp430-gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/bin/ld.exe:../lnk_msp430fr5994.cmd:59: syntax error
[7]collect2.exe: error: ld returned 1 exit status
[8]gmake[1]: *** [msp430fr599x_1.c.out] Error 1
[9]makefile:134: recipe for target 'all' failed
[10]gmake: *** [all] Error 2