This repository provides an OCI image (ghcr.io/hermit-os/hermit-gcc
, Dockerfile
) containing the GCC cross-compiler for the Hermit Operating System.
You can use this image to run the compiler in the current directory using Docker:
docker run --rm -v .:/mnt -w /mnt ghcr.io/hermit-os/hermit-gcc:x86_64 x86_64-hermit-gcc --version
You can also use the image interactively:
docker run --rm -it -v .:/mnt -w /mnt ghcr.io/hermit-os/hermit-gcc:x86_64
For details on compiling C code for Hermit, see hermit-c.