TI中文支持网
TI专业的中文技术问题搜集分享网站

arm-none-eabi-ld: cannot find -lgcc 错误

使用ubuntu64位,编译SDK时出现arm-none-eabi-ld: cannot find -lgcc 错我,尝试了更新gcc的库还是不行,

-L/Debug -o Debug_MMCSD/boot.out -Map Debug_MMCSD/boot.map \
Debug_MMCSD/*.o* –defsym BOOT_START_ADDR=0x402F0400 -T boot.lds -ldrivers -lutils -lplatform -lmmcsd -lc -lgcc -ldrivers -lutils -lplatform -lmmcsd -lc -lgcc
arm-none-eabi-ld: cannot find -lc
arm-none-eabi-ld: cannot find -lgcc
arm-none-eabi-ld: cannot find -lc
arm-none-eabi-ld: cannot find -lgcc
makefile:139: recipe for target 'bin' failed

Tobi Tobi:

Your ENV is wrong, Compiler is arm-none-eabi-gcc,

e.g.

export PATH=$PATH:/opt/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage -j12

Denny%20Yang99373:

没有找到libgcc.a或者libgcc.so等库

可能路径指定不对

赞(0)
未经允许不得转载:TI中文支持网 » arm-none-eabi-ld: cannot find -lgcc 错误
分享到: 更多 (0)