These portable CMake commands build, test and install a project with a modern CMake buildsystem.
cmake -S -B # Generate the project's buildsystem in ``.
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc | |
# NOTE: libtool requires rebuilt with each new gcc version | |
pkgname=(gcc-git gcc-libs-git gcc-fortran-git gcc-objc-git gcc-ada-git gcc-go-git lib32-gcc-libs-gitb gcc-d-git) | |
pkgver=11.0.0.r180546.485bf433e2d | |
_majorver=${pkgver%%.*} | |
_islver=0.22.1 | |
pkgrel=1 | |
pkgdesc='The GNU Compiler Collection' | |
arch=(x86_64) |