Compile binutils and gcc from scratch

Turns out the alpine versione doesn't quite work well with low-level 32
bit code...
This commit is contained in:
2017-11-11 17:53:09 +01:00
parent 261cc76e8f
commit d339e27080
2 changed files with 49 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
FROM alpine
RUN apk --update add make binutils gcc && \
apk add grub-bios xorriso qemu-system-x86_64 gdb && \
rm -rf /var/cache/apk/*
ADD build-toolchain.sh /opt/build-toolchain.sh
RUN /opt/build-toolchain.sh
ENV PATH "/opt/toolchain:$PATH"
ENV MITTOS64 "true"