Commit b1c4331 1 parent dc63f74 commit b1c4331 Copy full SHA for b1c4331
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
Run the following command to build gcc-12/amd64:
8
8
9
9
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
12
12
13
13
### Install
14
14
15
15
Now you can install it:
16
16
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
18
18
19
19
Set gcc-12 as high priority:
20
20
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ubuntu:$UbuntuVersion
5
5
RUN apt update && apt install -y wget build-essential file flex libz-dev libzstd-dev
6
6
7
7
# Download gcc source code
8
- ARG Gcc12Version=12.1 .0
8
+ ARG Gcc12Version=12.2 .0
9
9
RUN wget https://gcc.gnu.org/pub/gcc/releases/gcc-$Gcc12Version/gcc-$Gcc12Version.tar.gz
10
10
RUN tar xf gcc-$Gcc12Version.tar.gz
11
11
RUN cd /gcc-$Gcc12Version && ./contrib/download_prerequisites
You can’t perform that action at this time.
0 commit comments