I am documenting it here for my personal use, with the hope of being useful for others. You may use it with your own responsibility
- http://www.linuxfromscratch.org/blfs/view/svn/general/gcc.html
- https://gcc.gnu.org/install/configure.html
- https://gcc.gnu.org/git.html
- https://gcc.gnu.org/wiki/InstallingGCC
git clone git://gcc.gnu.org/git/gcc.git
cd gcc
git checkout releases/gcc-9.3.0
or download and extract it from here: https://ftp.gnu.org/gnu/gcc/gcc-9.3.0/
# requirements
sudo apt-get install flex bison
mkdir build
./contrib/download_prerequisites --directory=build
cd build
../configure \
--prefix=/usr \
--disable-multilib \
--with-system-zlib \
--enable-languages=c,c++,d,fortran,go,objc,obj-c++ \
--program-suffix=-9.3.0
make -j$(nproc)
sudo make install -j$(nproc)
@yosoufe VMware needs to know where the directory for 9.3.0 (gcc) is so it can be installed. Any idea which file to use and where it is in my new gcc folder i got from the git clone? Thanks in any case