在项目中使用arm-none-eabi-gcc交叉编译链编译程序时报错:
checking host system type... arm-none-eabi
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-none-eabi-gcc... /opt/Ambalink/gcc-arm-none-eabi-4_9-2015q3-amba-20160323/bin/arm-none-eabi-gcc
checking whether the C compiler works... no
configure: error: C compiler cannot create executables
See `config.log' for more details
通过查看config.log,显示以下错误:
configure:4447: checking whether the C compiler works
configure:4469: /opt/Ambalink/gcc-arm-none-eabi-4_9-201