I'm attempting to install GCC 4.7.0 in Linux Mint (based off of Ubuntu 18.04). I get past the first step of configuring it. However when I run
make -j5, I get the following errors:
make: Leaving directory '/home/james/src/build-gcc' Makefile:26035: recipe for target 'stage1-bubble' failed make: *** [stage1-bubble] Error 2 make: Leaving directory '/home/james/src/build-gcc' Makefile:941: recipe for target 'all' failed make: *** [all] Error 2 make: 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: Entering directory '/home/james/src/build-gcc/fixincludes' make: *** No rule to make target 'install'. Stop. make: Leaving directory '/home/james/src/build-gcc/fixincludes' Makefile:3736: recipe for target 'install-fixincludes' failed make: *** [install-fixincludes] Error 2 make: Leaving directory '/home/james/src/build-gcc' Makefile:2337: recipe for target 'install' failed make: *** [install] Error 2
I'm following the steps provided by OSDev Wiki here: https://wiki.osdev.org/Building_GCC. I need this compiler to work that so I can make a cross-compiler. Why is this happening and how do I fix it?
EDIT: Here is the full config.log file: http://www.mediafire.com/file/oco5szzfrr7hpmq/config.log/file