GCC 13.2 built to target x86_64-elf. Based on instructions in OSDev Wiki. Inspired by Brett Vickers.
707
This is a cross-compiler for the 'x86_64' target system.
Images have been built for the following platforms: linux/amd64, linux/arm64.
The source material is available in GitHub under the gcc-cross-compiler folder.
In order to control the image size, this image does not contain any of the dependencies required to build GCC itself. You'll need to (re)install those dependencies yourself if you need them.
buildenv/Dockerfile
FROM techiekeith/gcc-cross-x86_64-elf
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y build-essential nasm xorriso grub-pc-bin grub-common
VOLUME /root/env
WORKDIR /root/env
CLI (bash)
docker build buildenv/x86_64 -t techiekeith/osdev-buildenv-x86_64
docker run --rm -it -v $(pwd):/root/env techiekeith/osdev-buildenv-x86_64 make build-x86_64
CLI (PowerShell)
docker build buildenv/x86_64 -t techiekeith/osdev-buildenv-x86_64
docker run --rm -it -v "$($(pwd).Path):/root/env" techiekeith/osdev-buildenv-x86_64 make build-x86_64
Content type
Image
Digest
sha256:cbc2de221…
Size
632.4 MB
Last updated
almost 3 years ago
docker pull techiekeith/gcc-cross-x86_64-elf