/bin/sh: xscale_be-gcc: コマンドが見つかりません

/bin/sh: xscale_be-gcc: コマンドが見つかりません

私は組み込みプロジェクトのためのLinuxオペレーティングシステムイメージを構築する方法を学び、「Embedded Linuxを始めよう」を読んでいます。

ARM XScale用のカーネルをコンパイルしようとしましたが中断されました。

$ ARCH = arm CROSS_COMPILE = xscale_be-ixp4xx_defconfigを作成します。

次のエラーが発生します。

/bin/sh: xscale_be-gcc: command not found
/bin/sh: xscale_be-gcc: command not found
  YACC    scripts/kconfig/zconf.tab.c
/bin/sh: bison: command not found
scripts/Makefile.lib:196: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:544: recipe for target 'ixp4xx_defconfig' failed
make: *** [ixp4xx_defconfig] Error 2

今何が欠けており、どのように解決しますか?

ベストアンサー1

ついに私はそれを見つけた。

まず、次の手順に従ってarm-none-eabi-gccをインストールしてください。アームクロスコンパイラのインストール

第二に、バイソンを設置する

sudo apt-getインストールバイソン

最後に変更されたコマンド

ARCH=arm CROSS_COMPILE=~/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-ixp4xx_defconfig を作成します。

おすすめ記事