From b6e20b228ac11d726843df9c5276f1c4e53074fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=99=A8=E5=8D=89?= Date: Fri, 1 Mar 2024 16:52:54 +0800 Subject: [PATCH] [gcc-cross] Fix cross-compilation tool chain --- config.xml | 4 ++-- gcc-cross.spec | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config.xml b/config.xml index be530d1..acab2b0 100644 --- a/config.xml +++ b/config.xml @@ -3,9 +3,9 @@ COMPILER_INFO="gcc 12.3.1" GCC="gcc" GCC_DIR="gcc-12.3.0" BINUTILS="binutils" -BINUTILS_DIR="binutils-2.40" +BINUTILS_DIR="binutils-2.41" MPFR="mpfr" -MPFR_DIR="mpfr-4.2.0" +MPFR_DIR="mpfr-4.2.1" GMP="gmp" GMP_DIR="gmp-6.3.0" MPC="libmpc" diff --git a/gcc-cross.spec b/gcc-cross.spec index e3d7c1e..ea61bd3 100644 --- a/gcc-cross.spec +++ b/gcc-cross.spec @@ -1,7 +1,7 @@ Summary: C/C++ Cross Compiler Toolchain Name: gcc-cross Version: 1.0 -Release: 5 +Release: 6 # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -11,7 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: binutils, gettext, gmp-devel, isl-devel, libmpc-devel, mpfr-devel, python3-sphinx, sharutils BuildRequires: audit-libs-devel, gd-devel, libcap-devel, libpng-devel, libselinux-devel, libstdc++-static, systemtap-sdt-devel, valgrind BuildRequires: jansson-devel -BuildRequires: gcc, gcc-c++, make, git, flex, bison, rpm-build, automake, autoconf +BuildRequires: gdb, native-turbo-tools, gcc, gcc-c++, make, git, flex, bison, rpm-build, automake, autoconf BuildRequires: libtool, ncurses-devel, bc, zlib-devel, openssl-devel, texinfo, rsync, chrpath #ExclusiveArch: i386 x86-64 @@ -44,6 +44,12 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp %attr(755, root, root) /tmp/gcc_arm32le.tar.gz %changelog +* Mon Mar 11 2024 zhengchenhui - 1.0-6 +-Type:Fix +-ID:NA +-SUG:NA +-DESC: Fix cross-compilation tool chain + * Mon Aug 07 2023 dingguangya - 1.0-5 -Type:Fix -ID:NA -- Gitee