Install success on ubuntu 20.04 with GCC 10.1.0
-------------------------------------------------------------------
Step 1: sudo apt update
Step 2: sudo apt upgrade
Step 3: sudo apt-get install build-essential
Step 4: download and extract GCC
Step 5: contrib/download_prerequisites
Step 6: ./configure -v --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --enable-checking=release --enable-languages=c,c++ --disable-multilib
Step 7: make -j 4
Or
make (if make -j 4 error)
Or
Let trying a few again (Step 7)
Waiting about 1 hour
Step 8: sudo make install
Gcc site : https://gcc.gnu.org/
References : https://solarianprogrammer.com/2016/1...