使用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等库
可能路径指定不对