Skip to content

Commit 716d6cb

Browse files
committed
Update to gcc 11.2
1 parent 9b073f7 commit 716d6cb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
Run the following command to build gcc-11/aarch64-gcc-11:
66

77
cd amd64/gcc-11-ubuntu
8-
docker build -t gcc-11:ubuntu-20.04 --build-arg UbuntuVersion=20.04 .
9-
docker run --rm --entrypoint cat gcc-11:ubuntu-20.04 /gcc-11.1.0-2-ubuntu-20.04.deb > /tmp/gcc-11.1.0-2-ubuntu-20.04.deb
8+
docker build -t gcc-11.2:ubuntu-20.04 --build-arg UbuntuVersion=20.04 .
9+
docker run --rm --entrypoint cat gcc-11.2:ubuntu-20.04 /gcc-11.2.0-1-ubuntu-20.04.deb > /tmp/gcc-11.2.0-1-ubuntu-20.04.deb
1010

1111
## Build gcc-11/aarch64-gcc-11 for Ubuntu 18.04
1212

1313
Run the following command to build gcc-11/aarch64-gcc-11:
1414

1515
cd amd64/gcc-11-ubuntu
16-
docker build -t gcc-11:ubuntu-18.04 --build-arg UbuntuVersion=18.04 .
17-
docker run --rm --entrypoint cat gcc-11:ubuntu-18.04 /gcc-11.1.0-2-ubuntu-18.04.deb > /tmp/gcc-11.1.0-2-ubuntu-18.04.deb
16+
docker build -t gcc-11.2:ubuntu-18.04 --build-arg UbuntuVersion=18.04 .
17+
docker run --rm --entrypoint cat gcc-11.2:ubuntu-18.04 /gcc-11.2.0-1-ubuntu-18.04.deb > /tmp/gcc-11.2.0-1-ubuntu-18.04.deb
1818

1919
## Install
2020

2121
Now you can install it:
2222

23-
sudo apt install -y /tmp/gcc-11.1.0-2-ubuntu-20.04.deb
23+
sudo apt install -y /tmp/gcc-11.2.0-1-ubuntu-20.04.deb
2424

2525
Set gcc-11/aarch64-gcc-11 as high priority:
2626

amd64/gcc-11-ubuntu/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ ARG UbuntuVersion=20.04
33
FROM ubuntu:$UbuntuVersion
44

55
ARG UbuntuVersion=20.04
6-
ARG Gcc11Version=11.1.0
7-
ARG BuildVersion=2
6+
ARG Gcc11Version=11.2.0
7+
ARG BuildVersion=1
88

99
# Download gcc source code
1010
RUN apt update && apt install -y wget build-essential flex libz-dev libzstd-dev

0 commit comments

Comments
 (0)