There are multiple gcc releases upon which gm2 can be grafted. The latest stable release of gm2 is based on gcc-11. The next section covers how to build the most recent stable version.