wget https://ftp.gnu.org/gnu/gcc/gcc-10.3.0/gcc-10.3.0.tar.gz
tar -zxvf gcc-10.3.0.tar.gz
sudo apt-get install build-essential
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev
mkdir build-gcc
cd build-gcc
cd build-gcc
../gcc-10.3.0/configure --enable-languages=c,c++ --disable-multilib
make -j$(nproc)
sudo make install
gcc --version