3

アーム ツールチェーンをゼロから構築しようとしています。

このサイトを参考にしています。

http://www.nixit.co.uk/cortex-m3-mac-1

すべての指示に注意深く従ってください。newlib のコンパイルまではすべてうまくいきました。奇妙なエラーが発生しています。

/bin/bash: arm-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 ディレクトリを確認しました。だから私は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** 

助けてください

4

1 に答える 1

2

Makefile の arm-none-eabi-cc を arm-none-eabi-gcc に置き換えるか、arm-none-eabi-cc を arm-none-eabi-gcc にシンボリック リンクしてみてください。

于 2010-09-07T16:47:21.737 に答える