Skip to content

Commit 0f77fe6

Browse files
authored
GCC 15.1.0 (#44)
* Build GCC 15.1.0 * Build with gold and not delete bfd plugins * [ci skip] Clean up shell script
1 parent e2984c2 commit 0f77fe6

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/build-msys64.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##############################################################################
2-
# Copyright Christopher Kormanyos 2023 - 2024.
2+
# Copyright Christopher Kormanyos 2023 - 2025.
33
# Distributed under The Unlicense.
44

55
name: build-msys64
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
gccversion: [ 14.2.0 ]
20+
gccversion: [ 15.1.0 ]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: get-nuwen-mingw
@@ -54,7 +54,6 @@ jobs:
5454
echo "test avr-gcc with real-time-cpp"
5555
echo "clone ckormanyos/real-time-cpp"
5656
git clone -b master --depth 1 https://github.com/ckormanyos/real-time-cpp.git /d/a/avr-gcc-build/avr-gcc-build/real-time-cpp
57-
rm -rf /d/a/avr-gcc-build/avr-gcc-build/local/gcc-${{ matrix.branchname }}-avr/lib/bfd-plugins
5857
cd /d/a/avr-gcc-build/avr-gcc-build/real-time-cpp/ref_app
5958
PATH=/d/a/avr-gcc-build/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr/bin:"$PATH"
6059
./target/build/build.sh avr rebuild

.github/workflows/build-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##############################################################################
2-
# Copyright Christopher Kormanyos 2023 - 2024.
2+
# Copyright Christopher Kormanyos 2023 - 2025.
33
# Distributed under The Unlicense.
44

55
name: build-ubuntu
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
gccversion: [ 14.2.0 ]
20+
gccversion: [ 15.1.0 ]
2121
steps:
2222
- uses: actions/checkout@v4
2323
with:

avr-gcc-100.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright Christopher Kormanyos 2023 - 2024.
3+
# Copyright Christopher Kormanyos 2023 - 2025.
44
# Distributed under The Unlicense.
55
#
66
# Example call(s):
@@ -74,7 +74,7 @@ wget --no-check-certificate https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz
7474
wget --no-check-certificate https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
7575
wget --no-check-certificate https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.24.tar.bz2
7676
wget --no-check-certificate https://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz
77-
wget --no-check-certificate https://ftp.gnu.org/gnu/binutils/binutils-2.41.tar.xz
77+
wget --no-check-certificate https://ftp.gnu.org/gnu/binutils/binutils-2.44.tar.xz
7878
wget --no-check-certificate https://ftp.gnu.org/gnu/gcc/gcc-"$MY_VERSION"/gcc-"$MY_VERSION".tar.xz
7979
echo
8080

@@ -158,10 +158,10 @@ echo
158158

159159
cd $SCRIPT_DIR/gcc_build
160160
echo 'build binutils'
161-
tar -xf binutils-2.41.tar.xz
162-
mkdir objdir-binutils-2.41-avr-gcc-"$MY_VERSION"
163-
cd objdir-binutils-2.41-avr-gcc-"$MY_VERSION"
164-
../binutils-2.41/configure --prefix=$SCRIPT_DIR/local/gcc-"$MY_VERSION"-avr --target=avr --enable-languages=c,c++ --build="$BUILD_NAME" --host="$HOST_NAME" --with-pkgversion='Built by ckormanyos/real-time-cpp' --disable-plugins --enable-static --disable-shared --disable-tls --disable-libada --disable-libssp --disable-nls --enable-mingw-wildcard --with-gnu-as --with-dwarf2 --with-isl=$SCRIPT_DIR/local/isl-0.24 --with-cloog=$SCRIPT_DIR/local/cloog-0.18.1 --with-gmp=$SCRIPT_DIR/local/gmp-6.3.0 --with-mpfr=$SCRIPT_DIR/local/mpfr-4.2.1 --with-mpc=$SCRIPT_DIR/local/mpc-1.3.1 --with-libiconv-prefix=$SCRIPT_DIR/local/libiconv-1.17 --with-zstd=$SCRIPT_DIR/local/zstd-1.5.5/lib --disable-werror
161+
tar -xf binutils-2.44.tar.xz
162+
mkdir objdir-binutils-2.44-avr-gcc-"$MY_VERSION"
163+
cd objdir-binutils-2.44-avr-gcc-"$MY_VERSION"
164+
../binutils-2.44/configure --prefix=$SCRIPT_DIR/local/gcc-"$MY_VERSION"-avr --target=avr --enable-languages=c,c++ --build="$BUILD_NAME" --host="$HOST_NAME" --with-pkgversion='Built by ckormanyos/real-time-cpp' --disable-plugins --enable-static --disable-shared --disable-tls --disable-libada --disable-libssp --disable-nls --enable-mingw-wildcard --with-gnu-as --with-dwarf2 --with-isl=$SCRIPT_DIR/local/isl-0.24 --with-cloog=$SCRIPT_DIR/local/cloog-0.18.1 --with-gmp=$SCRIPT_DIR/local/gmp-6.3.0 --with-mpfr=$SCRIPT_DIR/local/mpfr-4.2.1 --with-mpc=$SCRIPT_DIR/local/mpc-1.3.1 --with-libiconv-prefix=$SCRIPT_DIR/local/libiconv-1.17 --with-zstd=$SCRIPT_DIR/local/zstd-1.5.5/lib --disable-werror
165165
make --jobs=6
166166
make install
167167
echo

0 commit comments

Comments
 (0)