Arm 编译newlib时出错

Arm 编译newlib时出错,arm,toolchain,Arm,Toolchain,我正试图从头开始构建一个手臂工具链 我指的是这个网站 仔细地遵循所有的说明。在newlib编译之前一切都很顺利。我犯了一个奇怪的错误 /bin/bash:arm none eabi cc:未找到命令 所以我检查了Makefile makefile中有一行。有一项指令与arm none eabi cc有关 # ----------------------------------------------- # Programs producing files for the TARGET mach

我正试图从头开始构建一个手臂工具链

我指的是这个网站

仔细地遵循所有的说明。在newlib编译之前一切都很顺利。我犯了一个奇怪的错误

/bin/bash:arm none eabi cc:未找到命令

所以我检查了Makefile makefile中有一行。有一项指令与arm none 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工具,但没有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** 

请帮助

尝试将Makefile中的arm none eabi cc替换为arm none eabi gcc,或将arm none eabi cc符号化为arm none eabi gcc

事情进展顺利。让我们看看如果工具链能够正确编译代码会发生什么。