Skip to content

Commit

Permalink
Configure but not yet build GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Dec 15, 2023
1 parent 8bac271 commit 96913bd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/avr-gcc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ jobs:
./avr-gcc-010-build-binutils.sh
echo "verify build binutils"
ls -la /home/runner/work/avr-gcc-build/avr-gcc-build/local/gcc-13.2.0-avr
- name: avr-gcc-build-020-build-gcc
run: |
echo "run avr-gcc-020-build-gcc.sh"
./avr-gcc-020-build-gcc.sh
18 changes: 18 additions & 0 deletions avr-gcc-020-build-gcc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
#
# Copyright Christopher Kormanyos 2023.
# Distributed under The Unlicense.
#

cd gcc_build

wget --no-check-certificate https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.gz
tar -xf gcc-13.2.0.tar.gz
mkdir objdir-gcc-13.2.0-avr
cd objdir-gcc-13.2.0-avr
../gcc-13.2.0/configure --prefix=/home/runner/work/avr-gcc-build/avr-gcc-build/local/gcc-13.2.0-avr --target=avr --host=x86_64-w64-mingw32 --enable-languages=c,c++ --with-pkgversion='Built by ckormanyos/real-time-cpp' --disable-shared --enable-static --disable-libada --disable-libssp --disable-nls --enable-mingw-wildcard --with-gnu-as --with-dwarf2 --with-gmp=/home/runner/work/avr-gcc-build/avr-gcc-build/local/gmp-6.3.0 --with-mpfr=/home/runner/work/avr-gcc-build/avr-gcc-build/local/mpfr-4.2.1 --with-mpc=/home/runner/work/avr-gcc-build/avr-gcc-build/local/mpc-1.2.1 --with-isl=/home/runner/work/avr-gcc-build/avr-gcc-build/local/isl-0.15

#make --jobs=8
#make install

exit

0 comments on commit 96913bd

Please sign in to comment.