[rtems-crossrpms commit] Preps for gcc-4.7.0.

Ralf Corsepius ralf at rtems.org
Wed Mar 14 15:13:05 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    4694e0e70bbafae3c2aaba9e1d6c5f92035689b7
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=4694e0e70bbafae3c2aaba9e1d6c5f92035689b7

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Mar 14 12:08:06 2012 +0100

Preps for gcc-4.7.0.

---

 gcc/gccnewlib.add  |    4 ++++
 gcc/target-gcc.add |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/gcc/gccnewlib.add b/gcc/gccnewlib.add
index 7476135..2cdbb55 100644
--- a/gcc/gccnewlib.add
+++ b/gcc/gccnewlib.add
@@ -134,6 +134,10 @@ BuildRequires:  %{_host_rpmprefix}gcc
 %endif
 %endif
 
+%if "%{gcc_version}" >= "4.7.0"
+%define gmp_required            4.2
+%endif
+
 %if %{defined mpc_required}
 %if "%{mpc_provided}" >= "%{mpc_required}"
 %{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
diff --git a/gcc/target-gcc.add b/gcc/target-gcc.add
index afd3379..ff7cf12 100644
--- a/gcc/target-gcc.add
+++ b/gcc/target-gcc.add
@@ -49,6 +49,12 @@ libgcc @tool_target at -gcc.
 %if "%{gcc_version}" < "4.6.0"
 %{_bindir}/@tool_target at -gccbug
 %endif
+%if "%{gcc_version}" >= "4.7.0"
+# FIXME: To ship or not to ship?
+%{_bindir}/@tool_target at -gcc-ar%{_exeext}
+%{_bindir}/@tool_target at -gcc-nm%{_exeext}
+%{_bindir}/@tool_target at -gcc-ranlib%{_exeext}
+%endif
 
 %sysdir %{_libexecdir}
 %dir %{_libexecdir}/gcc




More information about the vc mailing list