我正试图从零开始构建一个手臂工具链。
我指的是这个网站。
http://www.nixit.co.uk/cortex-m3-mac-1
仔细地遵循所有的指示。在新的库编译之前一切都进行得很顺利。我犯了个奇怪的错误。
/bin/bash:手臂-无-eabi-cc:命令未找到
所以我检查了makefile,在Makefile中有一行。有一项指令涉及到武装-非eabi-cc。
# -----------------------------------------------
# Programs producing files for the TARGET machine
# -----------------------------------------------
AR_FOR_TARGET=arm-none-eabi-ar
AS_FOR_TARGET=arm-none-eabi-as
CC_FOR_TARGET=$(STAGE_CC_WRAPPER) arm-none-eabi-cc
# If GCC_FOR_TARGET is not overriden on the command line, then this
# variable is passed down to the gcc Makefile, where it is used to
# build libgcc2.a. We define it here so that it can itself be
# overridden on the command line.
GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) arm-none-eabi-gcc我检查了/usr/arm/bin目录。所以我确实找到了没有武器的工具,但没有找到arm-none-eabi-cc。
arm-none-eabi-ld arm-none-eabi-readelf
arm-none-eabi-ar arm-none-eabi-gcc-4.4.3 arm-none-eabi-nm arm-none-eabi-size
arm-none-eabi-as **arm-none-eabi-gcc** 请帮帮忙
发布于 2010-09-07 16:47:21
尝试将Makefile中的手臂-无-eabi-cc替换为手臂-无eabi-gcc,或符号连接手臂-无eabi-cc到手臂-无eabi-gcc。
https://stackoverflow.com/questions/3660672
复制相似问题