Builds a Docker image running awesome Compiler Explorer with several SPARC C++ compilers.
- Cobham Gaisler bcc-v2.0.1 (gcc 4.9.4)
- Cobham Gaisler bcc-v2.0.1 (clang 4.0.0)
- gcc 4.9.4 (sparc-leon-linux-gnu with -mfix-b2bst patch)
- gcc 7.3.0 (sparc-unknown-elf)
The BCC cross compilers are downloaded from Cobham Gaisler. Others are built using crosstool-ng.
Building the image will take a while. Take a look at the Dockerfile to see whats going on.
docker build -t ce-sparc https://github.com/thalionath/compiler-explorer-sparc.git
Run interactive container and map your machine’s port 80 to the container’s published port 10240 using -p:
docker run -it -p 80:10240 ce-sparc