File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ RUN apt-get install -y --no-install-recommends \
15
15
cd /root/gcc-16 && \
16
16
curl -L https://github.com/gcc-mirror/gcc/archive/master.tar.gz \
17
17
| tar -xz --strip-components=1 && \
18
- mkdir binutils && cd binutils && \
18
+ mkdir /root/ binutils && cd /root/ binutils && \
19
19
curl -L https://sourceware.org/pub/binutils/releases/binutils-2.45.tar.gz \
20
20
| tar -xz --strip-components=1 && \
21
- cd /root/gcc-16/obj && ../configure --enable-languages=c,c++,lto --prefix=/opt/gcc-16 --enable-checking=release && \
21
+ cd /root/gcc-16 && \
22
+ ln -s ../binutils/bfd ../binutils/gas ../binutils/binutils ../binutils/ld ../binutils/libctf \
23
+ ../binutils/libsframe ../binutils/opcodes . && \
24
+ cd /root/gcc-16/obj && \
25
+ ../configure --enable-languages=c,c++,lto --prefix=/opt/gcc-16 --enable-checking=release && \
22
26
make BOOT_CFLAGS=-march=x86-64-v3 -j3 && \
23
27
make -j3 install-strip && \
24
28
update-alternatives --install /usr/bin/gcc-16 gcc-16 /opt/gcc-16/bin/gcc 160 --slave /usr/bin/g++-16 g++-16 /opt/gcc-16/bin/g++ && \
You can’t perform that action at this time.
0 commit comments