3
我想从零开始构建一个arm工具链。编译newlib时出错
我指的是这个网站。
http://www.nixit.co.uk/cortex-m3-mac-1
认真遵循所有的指令。一切都很顺利,直到newlib编译。我越来越奇怪的错误。
/斌/庆典:臂-NONE-EABI-CC:命令未找到
所以我检查生成文件 有在生成文件的线。有一个指令涉及到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目录。所以我觉得手臂 - 无 - EABI工具,但不臂无 - 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**
请帮
事情向前移动。让我们看看如果工具链能够正确编译代码会发生什么。 – chai 2010-09-07 18:17:08
感谢Nathon ..工具链已经安装。 – chai 2010-09-09 01:48:21