打印

dsPIC2010 编译报错:cannot find -legacy-libc

dsPIC2010 编译报错:cannot find -legacy-libc

是新手哪位有解决这个编译问题的方法?处理器dsPIC2010F,链接工具C30
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/lenovo/Desktop/pic_motor/dsPIC30F2010.X'
make  -f nbproject/Makefile-default.mk dist/default/production/dsPIC30F2010.X.production.hex
make[2]: Entering directory 'C:/Users/lenovo/Desktop/pic_motor/dsPIC30F2010.X'
pic30-elf-gcc.exe: -legacy-libc: linker input file unused because linking not done
pic30-elf-gcc.exe: -legacy-libc: linker input file unused because linking not done
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=30F2010 -Wall -MMD -MF build/default/production/SVM.o.d -o build/default/production/SVM.o SVM.c -legacy-libc
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=30F2010 -Wall -MMD -MF "build/default/production/SinusoidalBLDC v1.2.o.d" -o "build/default/production/SinusoidalBLDC v1.2.o" "SinusoidalBLDC v1.2.c" -legacy-libc
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe"   -omf=elf -mcpu=30F2010  -o dist/default/production/dsPIC30F2010.X.production.elf build/default/production/SVM.o "build/default/production/SinusoidalBLDC v1.2.o"        -legacy-libc -Wl,--defsym=__MPLAB_BUILD=1,--stack=16,-Map="dist/default/production/dsPIC30F2010.X.production.map",--report-mem,-Tp30f2010.gld
c:\program files (x86)\microchip\mplab c30\bin\pic30-elf-ld.exe: cannot find -legacy-libc
make[2]: *** [dist/default/production/dsPIC30F2010.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-default.mk:142: recipe for target 'dist/default/production/dsPIC30F2010.X.production.hex' failed
make[2]: Leaving directory 'C:/Users/lenovo/Desktop/pic_motor/dsPIC30F2010.X'
nbproject/Makefile-default.mk:84: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/lenovo/Desktop/pic_motor/dsPIC30F2010.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

TOP

问个问题连个版本都没有,谁也帮不了你
装最新的xc16和http://www.microchip.com/mymicro ... x?ddocname=en574967
don't just talk, make it happen
http://www.coremark.org

TOP

Microchip快讯
壁纸下载
MicrochipDirect
产品信息
招贤纳士
事件与展会