[gcc-cross] Fix cross-compilation tool chain.

This commit is contained in:
郑晨卉 2024-03-26 16:07:29 +08:00
parent 97f7daa4f5
commit 64d9ffd412
2 changed files with 10 additions and 4 deletions

View File

@ -3,9 +3,9 @@ COMPILER_INFO="gcc 12.3.1"
GCC="gcc" GCC="gcc"
GCC_DIR="gcc-12.3.0" GCC_DIR="gcc-12.3.0"
BINUTILS="binutils" BINUTILS="binutils"
BINUTILS_DIR="binutils-2.40" BINUTILS_DIR="binutils-2.41"
MPFR="mpfr" MPFR="mpfr"
MPFR_DIR="mpfr-4.2.0" MPFR_DIR="mpfr-4.2.1"
GMP="gmp" GMP="gmp"
GMP_DIR="gmp-6.3.0" GMP_DIR="gmp-6.3.0"
MPC="libmpc" MPC="libmpc"

View File

@ -1,7 +1,7 @@
Summary: C/C++ Cross Compiler Toolchain Summary: C/C++ Cross Compiler Toolchain
Name: gcc-cross Name: gcc-cross
Version: 1.0 Version: 1.0
Release: 5 Release: 6
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception. # GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD 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: 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: audit-libs-devel, gd-devel, libcap-devel, libpng-devel, libselinux-devel, libstdc++-static, systemtap-sdt-devel, valgrind
BuildRequires: jansson-devel 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 BuildRequires: libtool, ncurses-devel, bc, zlib-devel, openssl-devel, texinfo, rsync, chrpath
#ExclusiveArch: i386 x86-64 #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 %attr(755, root, root) /tmp/gcc_arm32le.tar.gz
%changelog %changelog
* Mon Mar 11 2024 zhengchenhui <zhengchenhui1@huawei.com> - 1.0-6
-Type:Fix
-ID:NA
-SUG:NA
-DESC: Fix cross-compilation tool chain
* Mon Aug 07 2023 dingguangya <dingguangya1@huawei.com> - 1.0-5 * Mon Aug 07 2023 dingguangya <dingguangya1@huawei.com> - 1.0-5
-Type:Fix -Type:Fix
-ID:NA -ID:NA