Skip to content

compiler-explorer/gcc-builder

GCC Compiler build scripts

The repository is part of the Compiler Explorer project. It builds the docker images used to build the various GCC compilers used on the site.

To Test

This assumes you have set up your user account to be able to run docker without being root; if you haven't done so, you'll need to prefix these commands with sudo.

  • docker build -t gccbuilder .
  • docker run gccbuilder ./build.sh trunk

Alternative to run (for better debugging)

  • docker run -t -i gccbuilder bash
  • ./build.sh trunk