Skip to content

Commit 025d175

Browse files
committed
Add in binutils
1 parent 398dc25 commit 025d175

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM buildpack-deps:stable
22

3-
RUN apt-get update && apt-get -y install cmake ninja-build
3+
RUN apt-get update && apt-get -y install cmake ninja-build lzip
44
RUN useradd -ms /bin/bash ez80
55
USER ez80
66
WORKDIR /home/ez80
@@ -18,3 +18,9 @@ RUN cd llvm-project-1b767f5cc45505fb2d6285e717d439c6b1ea2e7f \
1818
-DLLVM_DEFAULT_TARGET_TRIPLE=ez80-none-elf \
1919
../llvm-project-1b767f5cc45505fb2d6285e717d439c6b1ea2e7f/llvm \
2020
&& ninja install
21+
RUN curl -LO https://mirror.freedif.org/GNU/binutils/binutils-2.36.1.tar.lz
22+
RUN tar xf binutils-2.36.1.tar.lz
23+
RUN cd binutils-2.36.1 \
24+
&& ./configure --target=z80-none-elf --program-prefix=ez80-none-elf- --prefix=/opt/local/ez80-none-elf \
25+
&& make -j4 \
26+
&& make install

0 commit comments

Comments
 (0)