To build gm2 based on the 8.2 series of GCC you will need to install:
$ sudo apt-get install gcc-multilib libmpfr-dev libgmp-dev libmpc-dev flex libpth-dev
To download and extract the tarball:
$ wget http://floppsie.comp.glam.ac.uk/download/c/gcc-8.2.0+gm2-git-latest.tar.gz $ tar zxf gcc-8.2.0+gm2-git-latest.tar.gz
To configure:
$ mkdir build-8.2.0 $ cd build-8.2.0 $ CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g \ ../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/configure \ --prefix=$HOME/opt \ --libexecdir=$HOME/opt/lib \ --enable-threads=posix \ --enable-clocale=gnu --enable-languages=c,c++,m2 \ --disable-multilib --disable-bootstrap --enable-checking
To compile:
$ make
To install:
$ make install