Skip to content

Commit b1c4331

Browse files
committed
Update gcc 12.2.0
1 parent dc63f74 commit b1c4331

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
Run the following command to build gcc-12/amd64:
88

99
cd amd64/gcc-12-ubuntu
10-
docker build -t gcc-12.1.0:ubuntu-20.04 .
11-
docker run --rm --entrypoint cat gcc-12.1.0:ubuntu-20.04 /gcc-12.1.0-1-ubuntu-20.04.deb > /tmp/gcc-12.1.0-1-ubuntu-20.04.deb
10+
docker build -t gcc-12.2.0:ubuntu-20.04 .
11+
docker run --rm --entrypoint cat gcc-12.2.0:ubuntu-20.04 /gcc-12.2.0-1-ubuntu-20.04.deb > /tmp/gcc-12.2.0-1-ubuntu-20.04.deb
1212

1313
### Install
1414

1515
Now you can install it:
1616

17-
sudo apt install -y /tmp/gcc-12.1.0-1-ubuntu-20.04.deb
17+
sudo apt install -y /tmp/gcc-12.2.0-1-ubuntu-20.04.deb
1818

1919
Set gcc-12 as high priority:
2020

amd64/gcc-12-ubuntu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM ubuntu:$UbuntuVersion
55
RUN apt update && apt install -y wget build-essential file flex libz-dev libzstd-dev
66

77
# Download gcc source code
8-
ARG Gcc12Version=12.1.0
8+
ARG Gcc12Version=12.2.0
99
RUN wget https://gcc.gnu.org/pub/gcc/releases/gcc-$Gcc12Version/gcc-$Gcc12Version.tar.gz
1010
RUN tar xf gcc-$Gcc12Version.tar.gz
1111
RUN cd /gcc-$Gcc12Version && ./contrib/download_prerequisites

0 commit comments

Comments
 (0)