安装完CCS8后,新建430工程,使用自带GCC编译器,只是一个空工程,无代码,编译竟然出错,不知道是怎么回事?
系统:WIN10 1083 64位,跟系统有关吗?
错误图片如下:
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.
我用ccs7.4测试没问题
**** Build of configuration Debug for project test_gnu **** "D:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 'Building file: "../main.c"' 'Invoking: GNU Compiler' "D:/ti/ccsv7/tools/compiler/msp430-gcc-6.4.0.32_win32/bin/msp430-elf-gcc.exe" -c -mmcu=msp430g2553 -I"D:/ti/ccsv7/ccs_base/msp430/include_gcc" -I"C:/Users/DIY/workspace_v7/test_gnu" -I"D:/ti/ccsv7/tools/compiler/msp430-gcc-6.4.0.32_win32/msp430-elf/include" -Os -g -gdwarf-3 -gstrict-dwarf -Wall -mhwmult=none -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c" 'Finished building: "../main.c"' 'Building target: "test_gnu.out"' 'Invoking: GNU Linker' "D:/ti/ccsv7/tools/compiler/msp430-gcc-6.4.0.32_win32/bin/msp430-elf-gcc.exe" -Os -g -gdwarf-3 -gstrict-dwarf -Wall -mhwmult=none -mmcu=msp430g2553 -Wl,-Map,"test_gnu.map" -Wl,--gc-sections -L"D:/ti/ccsv7/ccs_base/msp430/include_gcc" -o"test_gnu.out" "./main.o" -T"../msp430g2553.ld" -Wl,--start-group -lgcc -lc -Wl,--end-group 'Finished building target: "test_gnu.out"' **** Build Finished ****
#include <msp430.h> /** * main.c */ int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer return 0; }