GCC 4.7.0 のインストールが make コマンドで失敗する

GCC 4.7.0 のインストールが make コマンドで失敗する

Linux Mint (Ubuntu 18.04 ベース) に GCC 4.7.0 をインストールしようとしています。設定の最初のステップは完了しました。しかし、 を実行するとmake -j5、次のエラーが発生します。

make[2]: Leaving directory '/home/james/src/build-gcc'
Makefile:26035: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/james/src/build-gcc'
Makefile:941: recipe for target 'all' failed
make: *** [all] Error 2
make[1]: Entering directory '/home/james/src/build-gcc'
/bin/bash ../gcc-7.4.0/mkinstalldirs /home/james/opt/gcc-7.4.0 
/home/james/opt/gcc-7.4.0
make[2]: Entering directory '/home/james/src/build-gcc/fixincludes'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory '/home/james/src/build-gcc/fixincludes'
Makefile:3736: recipe for target 'install-fixincludes' failed
make[1]: *** [install-fixincludes] Error 2
make[1]: Leaving directory '/home/james/src/build-gcc'
Makefile:2337: recipe for target 'install' failed
make: *** [install] Error 2

ここでは OSDev Wiki で提供されている手順に従います。https://wiki.osdev.org/Building_GCCクロスコンパイラを作成するには、このコンパイラが必要です。なぜこのようなことが起こるのでしょうか。また、どうすれば修正できるのでしょうか。

編集: 完全な config.log ファイルは次のとおりです:http://www.mediafire.com/file/oco5szzfrr7hpmq/config.log/file

関連情報