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