init
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
Adrien Beaudouin 2025-06-06 18:44:51 +02:00
parent b17f34fae3
commit 61104cd8e2

View File

@ -29,10 +29,11 @@ RUN cd build && \
make DESTDIR=/rootfs install
FROM bootstrap-c-toolchain AS build-binutils
ARG VERSION=2.44
WORKDIR /source
RUN wget https://ftp.gnu.org/gnu/binutils/binutils-2.44.tar.xz -O binutils.tar.gz
RUN wget https://ftp.gnu.org/gnu/binutils/binutils-${VERSION}.tar.xz -O binutils.tar.xz
RUN tar -xJf binutils.tar.xz --strip-components=1 && \
./configure \
@ -51,6 +52,32 @@ RUN make -j $(nproc)
RUN make DESTDIR=/rootfs install && \
rm -r /rootfs/usr/share/man
# FROM bootstrap-c-toolchain AS build-gcc
# WORKDIR /source
# 14.2.0
# 4.2.2
# 6.2.1
# 1.3.1
# RUN wget https://ftp.gnu.org/gnu/gcc/gcc-{{ .gcc_version }}/gcc-{{ .gcc_version }}.tar.xz -O gcc.tar.gz
# RUN tar -xJf binutils.tar.xz --strip-components=1 && \
# ./configure \
# --build=${BUILD} \
# --host=${HOST} \
# --prefix=/usr \
# --disable-nls \
# --disable-gdb \
# --disable-gprofng \
# --disable-werror \
# --enable-deterministic-archives \
# --enable-targets=aarch64-linux-musl,aarch64_be-linux-musl,i686-linux-musl,x86_64-linux-musl,x86_64-linux-muslx32,x86_64-pep
# RUN make -j $(nproc)
# RUN make DESTDIR=/rootfs install && \
# rm -r /rootfs/usr/share/man
FROM busybox AS final
COPY --from=build-make /rootfs/ /
COPY --from=build-binutils /rootfs/ /