Skip to content

Commit 96b0025

Browse files
feat: install gcc-12 instead of gcc-10
1 parent 671ecd0 commit 96b0025

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

scripts/gcc-12.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
set -eux
4+
5+
echo "Installing gcc-12, g++-12..."
6+
7+
apt install -y gcc-12 g++-12
8+
9+
update-alternatives \
10+
--install /usr/bin/gcc gcc /usr/bin/gcc-12 80 \
11+
--slave /usr/bin/g++ g++ /usr/bin/g++-12 \
12+
--slave /usr/bin/gcov gcov /usr/bin/gcov-12

scripts/gcc_10.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

scripts/run_order.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dist_upgrade.sh
22
add_repo.sh
33
google_chrome.sh
4-
gcc_10.sh
4+
gcc-12.sh
55
python3.10.sh
66
openjdk17.sh
77
openssh_server.sh

0 commit comments

Comments
 (0)