Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
156d5b7d7e | ||
|
|
d5b90f270e | ||
|
|
4dfdcb3881 | ||
|
|
66c6b17f83 | ||
|
|
f02792836a |
3 changed files with 20 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,3 +15,4 @@
|
|||
/gcc-11.3.0.tar.xz
|
||||
/gcc-12.1.0.tar.xz
|
||||
/gcc-12.2.0.tar.xz
|
||||
/gcc-12.4.0.tar.xz
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%global processor_arch arm
|
||||
%global target %{processor_arch}-none-eabi
|
||||
%global gcc_ver 12.2.0
|
||||
%global gcc_short_ver 12.2
|
||||
%global gcc_ver 12.4.0
|
||||
%global gcc_short_ver 12.4
|
||||
|
||||
# we need newlib to compile complete gcc, but we need gcc to compile newlib,
|
||||
# so compile minimal gcc first
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Name: %{target}-gcc-cs
|
||||
Epoch: 1
|
||||
Version: 12.2.0
|
||||
Version: 12.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: GNU GCC for cross-compilation for %{target} target
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ Patch2: gcc12-Wno-format-security.patch
|
|||
|
||||
#BuildRequires: autoconf = 2.69
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: %{target}-binutils >= 2.21, zlib-devel gmp-devel mpfr-devel libmpc-devel flex autogen
|
||||
BuildRequires: %{target}-binutils >= 2.21, zlib-devel gmp-devel mpfr-devel libmpc-devel flex
|
||||
%if ! %{bootstrap}
|
||||
BuildRequires: %{target}-newlib
|
||||
BuildRequires: make
|
||||
|
|
@ -62,8 +62,8 @@ compile c++ code for the %{target} platform, instead of for the native
|
|||
%prep
|
||||
%setup -q -c
|
||||
pushd gcc-%{gcc_ver}
|
||||
%patch1 -p0 -b .hack
|
||||
%patch2 -p0 -b .wnosecerr
|
||||
%patch -P 1 -p0 -b .hack
|
||||
%patch -P 2 -p0 -b .wnosecerr
|
||||
popd
|
||||
pushd gcc-%{gcc_ver}/libiberty
|
||||
#autoconf -f
|
||||
|
|
@ -303,6 +303,18 @@ popd
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2024 Michal Hlavinka <mhlavink@redhat.com> - 1:12.4.0-1
|
||||
- updated to 12.4.0
|
||||
|
||||
* Sun Oct 30 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:12.2.0-4
|
||||
- full build
|
||||
|
||||
* Wed Oct 26 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:12.2.0-3
|
||||
- autogen does not seem to be required anymore
|
||||
|
||||
* Tue Oct 25 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:12.2.0-2
|
||||
- bootstrap build (do not use)
|
||||
|
||||
* Tue Aug 23 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:12.2.0-1
|
||||
- updated to 12.2.0
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (gcc-12.2.0.tar.xz) = e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
|
||||
SHA512 (gcc-12.4.0.tar.xz) = 5bd29402cad2deb5d9388d0236c7146414d77e5b8d5f1c6c941c7a1f47691c3389f08656d5f6e8e2d6717bf2c81f018d326f632fb468f42925b40bd217fc4853
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue