<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-05-23)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Comment out cpukit (multilibs are broken).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am.diff?r1=text&tr1=1.46&r2=text&tr2=1.47&diff_format=h">M</a></td><td width='1%'>1.47</td><td width='100%'>contrib/crossrpms/rtems4.11/arm/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am.diff?r1=text&tr1=1.47&r2=text&tr2=1.48&diff_format=h">M</a></td><td width='1%'>1.48</td><td width='100%'>contrib/crossrpms/rtems4.11/avr/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am.diff?r1=text&tr1=1.45&r2=text&tr2=1.46&diff_format=h">M</a></td><td width='1%'>1.46</td><td width='100%'>contrib/crossrpms/rtems4.11/bfin/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>contrib/crossrpms/rtems4.11/h8300/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>contrib/crossrpms/rtems4.11/i386/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am.diff?r1=text&tr1=1.49&r2=text&tr2=1.50&diff_format=h">M</a></td><td width='1%'>1.50</td><td width='100%'>contrib/crossrpms/rtems4.11/lm32/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am.diff?r1=text&tr1=1.49&r2=text&tr2=1.50&diff_format=h">M</a></td><td width='1%'>1.50</td><td width='100%'>contrib/crossrpms/rtems4.11/m32c/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am.diff?r1=text&tr1=1.46&r2=text&tr2=1.47&diff_format=h">M</a></td><td width='1%'>1.47</td><td width='100%'>contrib/crossrpms/rtems4.11/m32r/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>contrib/crossrpms/rtems4.11/m68k/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>contrib/crossrpms/rtems4.11/mips/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am.diff?r1=text&tr1=1.50&r2=text&tr2=1.51&diff_format=h">M</a></td><td width='1%'>1.51</td><td width='100%'>contrib/crossrpms/rtems4.11/powerpc/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>contrib/crossrpms/rtems4.11/sh/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am.diff?r1=text&tr1=1.51&r2=text&tr2=1.52&diff_format=h">M</a></td><td width='1%'>1.52</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am.diff?r1=text&tr1=1.38&r2=text&tr2=1.39&diff_format=h">M</a></td><td width='1%'>1.39</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc64/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.46 rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.47
--- rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.46 Tue May 17 06:34:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am Mon May 23 01:40:15 2011
</font><font color='#997700'>@@ -27,8 +27,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.47 rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.48
--- rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.47 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am Mon May 23 01:40:15 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.45 rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.46
--- rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.45 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am Mon May 23 01:40:15 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS += --disable-infos
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.48 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am Mon May 23 01:40:15 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.48 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.49 rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.50
--- rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.49 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -27,8 +27,8 @@
</font> GDB_OPTS +=
# NOTREADY
<font color='#880000'>-#CPUKIT_VERS = 4.9.99.0
-#CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-#CPUKIT_RPMREL = 1
</font><font color='#000088'>+# CPUKIT_VERS = 4.9.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
</font> #include ../cpukit.am
<font color='#880000'>-#CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.49 rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.50
--- rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.49 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.46 rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.47
--- rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.46 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.48 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.48 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.50 rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.51
--- rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.50 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.48 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.51 rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.52
--- rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.51 Tue May 17 06:34:41 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-CPUKIT_VERS = 4.9.99.0
-CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-CPUKIT_RPMREL = 1
-include ../cpukit.am
-CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.38 rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.39
--- rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.38 Tue May 17 06:34:40 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am Mon May 23 01:40:16 2011
</font><font color='#997700'>@@ -26,8 +26,8 @@
</font> include ../gdb.am
GDB_OPTS +=
<font color='#880000'>-#CPUKIT_VERS = 4.9.99.0
-#CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
-#CPUKIT_RPMREL = 1
</font><font color='#000088'>+# CPUKIT_VERS = 4.9.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
</font> #include ../cpukit.am
<font color='#880000'>-#CPUKIT_OPTS +=
</font><font color='#000088'>+# CPUKIT_OPTS +=
</font></pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Fix typo.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.1 rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.2
--- rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.1 Mon May 23 01:39:37 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am Mon May 23 01:42:32 2011
</font><font color='#997700'>@@ -17,7 +17,7 @@
</font>
NEWLIB_VERS = 1.19.0
NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `$(GCC_RPMREL)
</font><font color='#000088'>+NEWLIB_RPMREL = $(GCC_RPMREL)
</font> include ../gcc.am
GCC_OPTS += --languages=cxx
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add arm-eabi.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/Makefile.am.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/rtems4.11/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/Makefile.am:1.2 rtems/contrib/crossrpms/rtems4.11/Makefile.am:1.3
--- rtems/contrib/crossrpms/rtems4.11/Makefile.am:1.2 Fri May 21 11:16:56 2010
+++ rtems/contrib/crossrpms/rtems4.11/Makefile.am Mon May 23 01:42:59 2011
</font><font color='#997700'>@@ -2,6 +2,7 @@
</font>
SUBDIRS =
SUBDIRS += arm
<font color='#000088'>+SUBDIRS += arm-eabi
</font> SUBDIRS += avr
SUBDIRS += bfin
SUBDIRS += h8300
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add rtems4.11/arm-eabi.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/configure.ac.diff?r1=text&tr1=1.84&r2=text&tr2=1.85&diff_format=h">M</a></td><td width='1%'>1.85</td><td width='100%'>contrib/crossrpms/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/configure.ac:1.84 rtems/contrib/crossrpms/configure.ac:1.85
--- rtems/contrib/crossrpms/configure.ac:1.84 Wed Mar 23 07:22:32 2011
+++ rtems/contrib/crossrpms/configure.ac Mon May 23 01:43:32 2011
</font><font color='#997700'>@@ -157,6 +157,7 @@
</font>
AC_CONFIG_FILES([rtems4.11/Makefile])
AC_CONFIG_FILES([rtems4.11/arm/Makefile])
<font color='#000088'>+AC_CONFIG_FILES([rtems4.11/arm-eabi/Makefile])
</font> AC_CONFIG_FILES([rtems4.11/avr/Makefile])
AC_CONFIG_FILES([rtems4.11/bfin/Makefile])
AC_CONFIG_FILES([rtems4.11/h8300/Makefile])
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>New.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/gcc-core-4.6.0-rtems4.11-20110522.diff?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/patches/gcc-core-4.6.0-rtems4.11-20110522.diff</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/binutils-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/binutils-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/cpukit-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/cpukit-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/gcc-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/gcc-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-binutils.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-binutils.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-cpukit.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-cpukit.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/patches/gcc-core-4.6.0-rtems4.11-20110522.diff:1.1
--- /dev/null Mon May 23 07:12:23 2011
+++ rtems/contrib/crossrpms/patches/gcc-core-4.6.0-rtems4.11-20110522.diff Mon May 23 01:33:19 2011
</font><font color='#997700'>@@ -0,0 +1,504 @@
</font><font color='#000088'>+diff -Naur gcc-4.6.0.orig/gcc/ChangeLog.rtems gcc-4.6.0/gcc/ChangeLog.rtems
+--- gcc-4.6.0.orig/gcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/ChangeLog.rtems 2011-05-22 07:18:22.757035061 +0200
+@@ -0,0 +1,70 @@
++2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++ * config.gcc (arm*-*-rtemseabi*): New target.
++ * config/arm/rtems-eabi.h: New.
++ * config/arm/t-rtems-eabi: New.
++
++2011-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++ * config.gcc (sparc-*-rtems*, sparc64-*-rtems*):
++ Add sparc/t-rtems, crti.o crtn.o.
++ * config/sparc/t-rtems: New.
++
++2011-03-22 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config.gcc (sparc64-rtems*): Remove sysv.h from tm_file.
++
++2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/t-rtems: Add -mcpu=8540/-mfloat-gprs=double multilib.
++
++2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/t-rtems: Remove -mcpu=601 multilib.
++ * config/rs6000/t-rtems: Remove -Dmpc8260 multilib.
++ * config/rs6000/rtems.h: Allow --float-gprs=... to override grps on
++ E500 targets.
++
++2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
++
++<span style="background-color: #FF0000"> </span> * config.gcc (sparc64-*-rtems*): New target.
++ * config/sparc/sp64-rtemself.h: New file.
++
++2010-04-19 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _X86_64_ANSI_H_ is<span style="background-color: #FF0000"> </span>
++ defined (Used by amd64-*-netbsdelf5.*).
++
++2010-04-18 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _I386_ANSI_H_ is<span style="background-color: #FF0000"> </span>
++ defined (Used by i386-*-netbsdelf5.*).
++
++2010-03-15 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ Patch from Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>:
++ * config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support
++ for vfp FPU model
++
++2009-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/m32c/rtems.h, config/m68k/rtemself.h,
++ config/m68k/rtemself.h, config/sh/rtemself.h,
++ config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.<span style="background-color: #FF0000"> </span>
++ (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files<span style="background-color: #FF0000"> </span>
++ to interfere and cause wchar_t/wint_t incompatibilities).
++
++2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/avr/t-rtems: Don't build _exit.
++
++ Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/rs6000/rtems.h: Support for custom RTEMS multilibs.
++ Support TARGET_E500.
++ * config/rs6000/t-rtems: Custom RTEMS multilibs.<span style="background-color: #FF0000"> </span>
++
++ Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C.
++<span style="background-color: #FF0000"> </span>
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/rtems-eabi.h gcc-4.6.0/gcc/config/arm/rtems-eabi.h
+--- gcc-4.6.0.orig/gcc/config/arm/rtems-eabi.h 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/rtems-eabi.h 2011-05-22 07:16:15.136011277 +0200
+@@ -0,0 +1,33 @@
++/* Definitions for RTEMS based ARM systems using EABI
++ Copyright (C) 2011 Free Software Foundation, Inc.
++<span style="background-color: #FF0000"> </span>
++ This file is part of GCC.
++<span style="background-color: #FF0000"> </span>
++ GCC is free software; you can redistribute it and/or modify it
++ under the terms of the GNU General Public License as published
++ by the Free Software Foundation; either version 3, or (at your
++ option) any later version.
++<span style="background-color: #FF0000"> </span>
++ GCC is distributed in the hope that it will be useful, but WITHOUT
++ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
++ License for more details.
++<span style="background-color: #FF0000"> </span>
++ You should have received a copy of the GNU General Public License
++ along with GCC; see the file COPYING3. If not see
++ <http://www.gnu.org/licenses/>. */
++
++/* Run-time Target Specification. */
++#undef TARGET_VERSION
++#define TARGET_VERSION fputs (" (ARM/EABI RTEMS)", stderr);
++
++#define HAS_INIT_SECTION
++
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS() \
++ do { \
++ builtin_define ("__rtems__"); \
++ builtin_define ("__USE_INIT_FINI__"); \
++ builtin_assert ("system=rtems"); \
++ TARGET_BPABI_CPP_BUILTINS();<span style="background-color: #FF0000"> </span> \
++ } while (0)
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/rtems-elf.h gcc-4.6.0/gcc/config/arm/rtems-elf.h
+--- gcc-4.6.0.orig/gcc/config/arm/rtems-elf.h 2009-03-25 13:54:16.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/rtems-elf.h 2011-05-22 07:15:54.412682518 +0200
+@@ -36,7 +36,7 @@
+ */
+ #undef SUBTARGET_EXTRA_ASM_SPEC
+ #define SUBTARGET_EXTRA_ASM_SPEC "\
+- %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
++ %{!mhard-float: %{!mfpu=vfp: %{!msoft-float:-mfpu=softfpa}}}"
+<span style="background-color: #FF0000"> </span>
+ /*
+ * The default includes --start-group and --end-group which conflicts
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/t-rtems gcc-4.6.0/gcc/config/arm/t-rtems
+--- gcc-4.6.0.orig/gcc/config/arm/t-rtems 2004-11-23 06:30:32.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/t-rtems 2011-05-22 07:15:54.412682518 +0200
+@@ -5,6 +5,41 @@
+ MULTILIB_EXCEPTIONS =<span style="background-color: #FF0000"> </span>
+ MULTILIB_MATCHES = marm=mno-thumb
+<span style="background-color: #FF0000"> </span>
+-MULTILIB_OPTIONS += msoft-float/mhard-float
+-MULTILIB_DIRNAMES += soft fpu
+-MULTILIB_EXCEPTIONS += *mthumb/*mhard-float*
++MULTILIB_OPTIONS += mhard-float/mfloat-abi=softfp
++MULTILIB_DIRNAMES += fpu softfp
++MULTILIB_EXCEPTIONS += *mthumb*/*mhard-float* *mthumb*/*mfloat-abi=softfp*
++MULTILIB_MATCHES =
++
++MULTILIB_OPTIONS += mfpu=vfp
++MULTILIB_DIRNAMES += vfp
++MULTILIB_EXCEPTIONS += *mhard-float*/*mfpu=vfp* *marm*/*mfloat-abi=softfp*/*mfpu=fpa*
++MULTILIB_EXCLUSIONS += !mthumb/mfloat-abi=softfp/!mfpu=vfp
++
++# default float model is fpa, so don't create a explicit copy of it
++MULTILIB_EXCEPTIONS += *marm*/*mfpa*
++
++# permutations of the options which are useful (+) or make no sense (-),
++# defaults are in brackets:
++# + (arm/soft/fpa)
++# + (arm/soft)/vfp
++# - (arm)/softfp(/fpa)
++# + (arm)/softfp/vfp
++# + (arm)/hard-float(/fpa)
++# - (arm)/hard-float/vfp
++# + thumb/(soft/fpa)
++# + thumb/(soft/)vfp
++# - thumb/softfp/fpa
++# - thumb/softfp/vfp
++# - thumb/hard-float/fpa
++# - thumb/hard-float/vfp
++
++# subdirs to be used for multilibs and their respective options:
++#/thumb/vfp -> thumb/soft/vfp
++#/thumb/fpa -> thumb/soft/fpa
++#/thumb -> thumb/soft/fpa
++#/vfp -> arm/soft/vfp
++#/softfp/vfp -> arm/softfp/cfp
++#/fpu/fpa -> arm/hard/fpa
++#/fpu -> arm/hard/fpa
++#/fpa -> arm/soft/fpa
++#. -> arm/soft/fpa
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/t-rtems-eabi gcc-4.6.0/gcc/config/arm/t-rtems-eabi
+--- gcc-4.6.0.orig/gcc/config/arm/t-rtems-eabi 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/t-rtems-eabi 2011-05-22 07:16:15.136011277 +0200
+@@ -0,0 +1,6 @@
++# Custom RTEMS EABI multilibs
++
++MULTILIB_OPTIONS = mthumb march=armv6-m/march=armv7/march=armv7-m
++MULTILIB_DIRNAMES = thumb armv6-m armv7 armv7-m
++MULTILIB_EXCEPTIONS = march=armv6-m march=armv7 march=armv7-m
++MULTILIB_MATCHES = marm=mno-thumb
+diff -Naur gcc-4.6.0.orig/gcc/config/avr/t-rtems gcc-4.6.0/gcc/config/avr/t-rtems
+--- gcc-4.6.0.orig/gcc/config/avr/t-rtems 2004-11-23 04:44:03.000000000 +0100
++++ gcc-4.6.0/gcc/config/avr/t-rtems 2011-05-22 07:15:54.412682518 +0200
+@@ -1,3 +1,4 @@
+ # Multilibs for avr RTEMS targets.
+<span style="background-color: #FF0000"> </span>
+-# ATM, this is just a stub
++# RTEMS uses _exit from newlib
++LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
+diff -Naur gcc-4.6.0.orig/gcc/config/m32c/rtems.h gcc-4.6.0/gcc/config/m32c/rtems.h
+--- gcc-4.6.0.orig/gcc/config/m32c/rtems.h 2008-12-01 17:34:42.000000000 +0100
++++ gcc-4.6.0/gcc/config/m32c/rtems.h 2011-05-22 07:15:54.412682518 +0200
+@@ -29,5 +29,9 @@
+ } \
+ while (0)
+<span style="background-color: #FF0000"> </span>
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/m68k/rtemself.h gcc-4.6.0/gcc/config/m68k/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/m68k/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/m68k/rtemself.h 2011-05-22 07:15:54.412682518 +0200
+@@ -31,3 +31,8 @@
+<span style="background-color: #FF0000"> </span> builtin_assert ("system=rtems"); \
+ } \
+ while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/mips/elf.h gcc-4.6.0/gcc/config/mips/elf.h
+--- gcc-4.6.0.orig/gcc/config/mips/elf.h 2010-11-21 01:54:14.000000000 +0100
++++ gcc-4.6.0/gcc/config/mips/elf.h 2011-05-22 07:15:54.413682526 +0200
+@@ -47,5 +47,3 @@
+<span style="background-color: #FF0000"> </span>
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
+-
+-#define NO_IMPLICIT_EXTERN_C 1
+diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/rtems.h gcc-4.6.0/gcc/config/rs6000/rtems.h
+--- gcc-4.6.0.orig/gcc/config/rs6000/rtems.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/rs6000/rtems.h 2011-05-22 07:15:54.413682526 +0200
+@@ -49,8 +49,23 @@
+ %{mcpu=604: %{!Dppc*: %{!Dmpc*: -Dmpc604} } } \
+ %{mcpu=750: %{!Dppc*: %{!Dmpc*: -Dmpc750} } } \
+ %{mcpu=821: %{!Dppc*: %{!Dmpc*: -Dmpc821} } } \
+-%{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } }"<span style="background-color: #FF0000"> </span>
++%{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } } \
++%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540} } }"<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span>
+ #undef SUBSUBTARGET_EXTRA_SPECS
+ #define SUBSUBTARGET_EXTRA_SPECS \
+ { "cpp_os_rtems", CPP_OS_RTEMS_SPEC }
++
++#undef SUBSUBTARGET_OVERRIDE_OPTIONS
++#define SUBSUBTARGET_OVERRIDE_OPTIONS \
++ do { \
++ if (TARGET_E500) \
++ { \
++ if (!rs6000_explicit_options.float_gprs) \
++ rs6000_float_gprs = 1;<span style="background-color: #FF0000"> </span> \
++ } \
++ } while(0)
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/t-rtems gcc-4.6.0/gcc/config/rs6000/t-rtems
+--- gcc-4.6.0.orig/gcc/config/rs6000/t-rtems 2009-04-21 21:03:23.000000000 +0200
++++ gcc-4.6.0/gcc/config/rs6000/t-rtems 2011-05-22 07:15:54.413682526 +0200
+@@ -19,14 +19,12 @@
+ # <http://www.gnu.org/licenses/>.
+<span style="background-color: #FF0000"> </span>
+ MULTILIB_OPTIONS = \
+-mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
+-Dmpc8260 \
+-msoft-float
++mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
++msoft-float/mfloat-gprs=double
+<span style="background-color: #FF0000"> </span>
+ MULTILIB_DIRNAMES = \
+-m403 m505 m601 m603e m604 m860 m7400 \
+-mpc8260 \
+-nof
++m403 m505 m603e m604 m860 m7400 m8540 \
++nof gprsdouble
+<span style="background-color: #FF0000"> </span>
+ # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT}
+ MULTILIB_MATCHES =
+@@ -47,6 +45,13 @@
+ # Map 750 to .
+ MULTILIB_MATCHES += mcpu?750=
+<span style="background-color: #FF0000"> </span>
++# Map 8548 to 8540
++MULTILIB_MATCHES += mcpu?8540=mcpu?8548
++
++# Map -mcpu=8540 -mfloat-gprs=single to -mcpu=8540
++# (mfloat-gprs=single is implicit default)
++MULTILIB_MATCHES += mcpu?8540=mcpu?8540/mfloat-gprs?single
++
+ # Soft-float only, default implies msoft-float
+ # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
+ MULTILIB_SOFTFLOAT_ONLY = \
+@@ -62,6 +67,16 @@
+ MULTILIB_HARDFLOAT_ONLY = \
+ *mcpu=505/*msoft-float*
+<span style="background-color: #FF0000"> </span>
++# Targets which do not support gprs
++MULTILIB_NOGPRS = \
++mfloat-gprs=* \
++*mcpu=403/*mfloat-gprs=* \
++*mcpu=505/*mfloat-gprs=* \
++*mcpu=603e/*mfloat-gprs=* \
++*mcpu=604/*mfloat-gprs=* \
++*mcpu=860/*mfloat-gprs=* \
++*mcpu=7400/*mfloat-gprs=*
++
+ MULTILIB_EXCEPTIONS =
+<span style="background-color: #FF0000"> </span>
+ # Disallow -Dppc and -Dmpc without other options
+@@ -69,14 +84,8 @@
+<span style="background-color: #FF0000"> </span>
+ MULTILIB_EXCEPTIONS += \
+ ${MULTILIB_SOFTFLOAT_ONLY} \
+-${MULTILIB_HARDFLOAT_ONLY}
++${MULTILIB_HARDFLOAT_ONLY} \
++${MULTILIB_NOGPRS}
+<span style="background-color: #FF0000"> </span>
+ # Special rules
+ # Take out all variants we don't want
+-MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
+diff -Naur gcc-4.6.0.orig/gcc/config/sh/rtemself.h gcc-4.6.0/gcc/config/sh/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sh/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/sh/rtemself.h 2011-05-22 07:15:54.413682526 +0200
+@@ -24,3 +24,8 @@
+ builtin_define( "__rtems__" ); \
+ builtin_assert( "system=rtems" ); \
+ } while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/rtemself.h gcc-4.6.0/gcc/config/sparc/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sparc/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/sparc/rtemself.h 2011-05-22 07:15:54.414682530 +0200
+@@ -29,5 +29,9 @@
+ } \
+ while (0)
+<span style="background-color: #FF0000"> </span>
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.6.0/gcc/config/sparc/sp64-rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sparc/sp64-rtemself.h 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/sparc/sp64-rtemself.h 2011-05-22 07:15:54.414682530 +0200
+@@ -0,0 +1,37 @@
++/* Definitions for rtems targeting a SPARC64 using ELF.
++ Copyright (C) 2010 Free Software Foundation, Inc.
++ Contributed by Joel Sherrill (joel@OARcorp.com).
++
++This file is part of GCC.
++
++GCC is free software; you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation; either version 3, or (at your option)
++any later version.
++
++GCC is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with GCC; see the file COPYING3. If not see
++<http://www.gnu.org/licenses/>. */
++
++/* Target OS builtins. */
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS() \
++ do \
++ { \
++ builtin_define ("__rtems__"); \
++ builtin_define ("__USE_INIT_FINI__"); \
++ builtin_assert ("system=rtems"); \
++ } \
++ while (0)
++
++/* Use the default */
++#undef LINK_GCC_C_SEQUENCE_SPEC
++
++/* we are not svr4 */
++#undef CPP_SUBTARGET_SPEC
++#define CPP_SUBTARGET_SPEC ""
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/t-rtems gcc-4.6.0/gcc/config/sparc/t-rtems
+--- gcc-4.6.0.orig/gcc/config/sparc/t-rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/sparc/t-rtems 2011-05-22 07:15:54.414682530 +0200
+@@ -0,0 +1,29 @@
++# Copyright (C) 2011 Free Software Foundation, Inc.
++#
++# This file is part of GCC.
++#
++# GCC is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3, or (at your option)
++# any later version.
++#
++# GCC is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with GCC; see the file COPYING3. If not see
++# <http://www.gnu.org/licenses/>.
++#
++# This file was based on t-sol2 - SPARC Solaris implementation. Actually,
++# the source code to create crti.o and crtn.o are exactly the same<span style="background-color: #FF0000"> </span>
++# as the ones for Solaris. Later, we might want to have a RTEMS's<span style="background-color: #FF0000"> </span>
++# version of these files.
++#
++
++# Assemble startup files.
++$(T)crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES)
++ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm
++$(T)crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES)
++ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm
+diff -Naur gcc-4.6.0.orig/gcc/config.gcc gcc-4.6.0/gcc/config.gcc
+--- gcc-4.6.0.orig/gcc/config.gcc 2011-03-14 07:05:29.000000000 +0100
++++ gcc-4.6.0/gcc/config.gcc 2011-05-22 07:16:15.135011263 +0200
+@@ -894,6 +894,17 @@
+<span style="background-color: #FF0000"> </span> tm_file="${tm_file} arm/aout.h arm/arm.h"
+<span style="background-color: #FF0000"> </span> tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
+<span style="background-color: #FF0000"> </span> ;;
++arm*-*-rtemseabi*)
++ need_64bit_hwint=yes
++ default_use_cxa_atexit=yes
++ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
++ tm_file="${tm_file} ../../libgcc/config/arm/bpabi-lib.h"
++ tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h"
++ tm_file="${tm_file} arm/aout.h arm/arm.h"
++ tmake_file="arm/t-arm arm/t-arm-elf"
++ tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi"
++<span style="background-color: #FF0000"> </span> tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
++<span style="background-color: #FF0000"> </span> ;;
+ arm*-*-rtems*)
+<span style="background-color: #FF0000"> </span> tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
+<span style="background-color: #FF0000"> </span> tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
+@@ -2526,8 +2537,8 @@
+<span style="background-color: #FF0000"> </span> ;;
+ sparc-*-rtems*)
+<span style="background-color: #FF0000"> </span> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+- tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
+- extra_parts="crtbegin.o crtend.o"
++ tmake_file="sparc/t-elf sparc/t-crtfm sparc/t-rtems t-rtems"
++ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+<span style="background-color: #FF0000"> </span> ;;
+ sparc-*-linux*)
+<span style="background-color: #FF0000"> </span> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h"
+@@ -2620,8 +2631,8 @@
+ sparc64-*-rtems*)
+<span style="background-color: #FF0000"> </span> tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
+<span style="background-color: #FF0000"> </span> extra_options="${extra_options} sparc/little-endian.opt"
+- tmake_file="${tmake_file} sparc/t-crtfm t-rtems"
+- extra_parts="crtbegin.o crtend.o"
++ tmake_file="${tmake_file} sparc/t-crtfm sparc/t-rtems t-rtems"
++ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+<span style="background-color: #FF0000"> </span> ;;
+ sparc64-*-linux*)
+<span style="background-color: #FF0000"> </span> tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/linux64.h"
+diff -Naur gcc-4.6.0.orig/gcc/ginclude/stddef.h gcc-4.6.0/gcc/ginclude/stddef.h
+--- gcc-4.6.0.orig/gcc/ginclude/stddef.h 2011-01-29 23:15:52.000000000 +0100
++++ gcc-4.6.0/gcc/ginclude/stddef.h 2011-05-22 07:15:54.415682535 +0200
+@@ -53,7 +53,13 @@
+ one less case to deal with in the following. */
+ #if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
+ #include <machine/ansi.h>
++#if !defined(_MACHINE_ANSI_H_)
++#if defined(_I386_ANSI_H_) || defined(_X86_64_ANSI_H_)
++#define _MACHINE_ANSI_H_
+ #endif
++#endif
++#endif
++
+ /* On FreeBSD 5, machine/ansi.h does not exist anymore... */
+ #if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
+ #include <sys/_types.h>
+diff -Naur gcc-4.6.0.orig/libgcc/ChangeLog.rtems gcc-4.6.0/libgcc/ChangeLog.rtems
+--- gcc-4.6.0.orig/libgcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/libgcc/ChangeLog.rtems 2011-05-22 07:15:54.427682721 +0200
+@@ -0,0 +1,5 @@
++2010-08-17 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ 1669/Tools, GCC-BZ 44793
++ * config.host (powerpc-*-rtems*): Add tmake_file.
++ Add extra_parts.
+diff -Naur gcc-4.6.0.orig/libgcc/config.host gcc-4.6.0/libgcc/config.host
+--- gcc-4.6.0.orig/libgcc/config.host 2011-03-14 07:06:23.000000000 +0100
++++ gcc-4.6.0/libgcc/config.host 2011-05-22 07:15:54.427682721 +0200
+@@ -483,6 +483,8 @@
+<span style="background-color: #FF0000"> </span> tmake_file="${tmake_file} rs6000/t-ppccomm"
+<span style="background-color: #FF0000"> </span> ;;
+ powerpc-*-rtems*)
++ tmake_file="${tmake_file} rs6000/t-ppccomm t-softfp"
++ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
+<span style="background-color: #FF0000"> </span> ;;
+ powerpc-*-linux* | powerpc64-*-linux*)
+<span style="background-color: #FF0000"> </span> tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/.cvsignore:1.1
--- /dev/null Mon May 23 07:12:23 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/.cvsignore Mon May 23 01:40:51 2011
</font><font color='#997700'>@@ -0,0 +1,4 @@
</font><font color='#000088'>+Makefile
+Makefile.in
+*.spec
+*.spec.in
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.1
--- /dev/null Mon May 23 07:12:23 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am Mon May 23 01:39:37 2011
</font><font color='#997700'>@@ -0,0 +1,34 @@
</font><font color='#000088'>+# $Id$
+
+rtems_api = 4.11
+TARGET = arm-rtemseabi4.11
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.21
+BINUTILS_PKGVERS = $(BINUTILS_VERS)
+BINUTILS_RPMREL = 1
+include ../binutils.am
+BINUTILS_OPTS +=
+
+GCC_VERS = 4.6.0
+GCC_PKGVERS = $(GCC_VERS)
+GCC_RPMREL = 1
+
+NEWLIB_VERS = 1.19.0
+NEWLIB_PKGVERS = $(NEWLIB_VERS)
+NEWLIB_RPMREL = `$(GCC_RPMREL)
+include ../gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 7.2
+GDB_PKGVERS = $(GDB_VERS)
+GDB_RPMREL = 1
+include ../gdb.am
+GDB_OPTS +=
+
+# CPUKIT_VERS = 4.10.99.0
+# CPUKIT_PKGVERS = $(CPUKIT_VERS)-YYYYMMDD-R
+# CPUKIT_RPMREL = 1
+# include ../cpukit.am
+# CPUKIT_OPTS +=
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/binutils-sources.add:1.1
--- /dev/null Mon May 23 07:12:23 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/binutils-sources.add Mon May 23 01:40:58 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/binutils-2.21-rtems4.11-20110107.diff
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/cpukit-sources.add:1.1
--- /dev/null Mon May 23 07:12:23 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/cpukit-sources.add Mon May 23 01:40:58 2011
</font><font color='#997700'>@@ -0,0 +1 @@
</font><font color='#000088'>+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/rtems-%{cpukit_pkgvers}.tar.bz2
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/gcc-sources.add:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/gcc-sources.add Mon May 23 01:40:58 2011
</font><font color='#997700'>@@ -0,0 +1,49 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.6.0"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-rtems4.11-20110522.diff
+%endif
+%if "%{gcc_version}" == "4.5.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110426.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
+
+%if %build_cxx
+%if "%{gcc_version}" == "4.6.0"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
+%if "%{gcc_version}" == "4.5.3"<span style="background-color: #FF0000"> </span>
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
+
+%endif
+%if %build_fortran
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+
+%endif
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-java-%{gcc_pkgvers}.tar.bz2
+
+%endif
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+
+%endif
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+
+%endif
+%if %build_newlib
+%if "%{newlib_version}" == "1.19.0"
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
+Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff
+%endif
+%endif
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add Mon May 23 01:40:58 2011
</font><font color='#997700'>@@ -0,0 +1,8 @@
</font><font color='#000088'>+%if "%{gdb_version}" == "7.2"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100903.diff
+%endif
+%if "%{gdb_version}" == "7.1"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
+%endif
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-binutils.spec:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-binutils.spec Mon May 23 01:45:14 2011
</font><font color='#997700'>@@ -0,0 +1,268 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+%define _prefix /opt/rtems-4.11
+%define _exec_prefix %{_prefix}
+%define _bindir %{_exec_prefix}/bin
+%define _sbindir %{_exec_prefix}/sbin
+%define _libexecdir %{_exec_prefix}/libexec
+%define _datarootdir %{_prefix}/share
+%define _datadir %{_datarootdir}
+%define _sysconfdir %{_prefix}/etc
+%define _sharedstatedir %{_prefix}/com
+%define _localstatedir %{_prefix}/var
+%define _includedir %{_prefix}/include
+%define _libdir %{_exec_prefix}/%{_lib}
+%define _mandir %{_datarootdir}/man
+%define _infodir %{_datarootdir}/info
+%define _localedir %{_datarootdir}/locale
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define binutils_pkgvers 2.21
+%define binutils_version 2.21
+%define binutils_rpmvers %{expand:%(echo "2.21" | tr - _ )}
+
+Name: rtems-4.11-arm-rtemseabi4.11-binutils
+Summary: Binutils for target arm-rtemseabi4.11
+Group: Development/Tools
+Version: %{binutils_rpmvers}
+Release: 1%{?dist}
+License: GPL/LGPL
+URL:<span style="background-color: #FF0000"> </span> http://sources.redhat.com/binutils
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+%if "%{binutils_version}" >= "2.18"
+# Bug in bfd: Doesn't build without texinfo installed
+BuildRequires: texinfo >= 4.2
+%else
+# Required for building the infos
+BuildRequires: /sbin/install-info
+BuildRequires: texinfo >= 4.2
+%endif
+BuildRequires: flex
+BuildRequires: bison
+
+Requires: rtems-4.11-binutils-common
+
+Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/binutils-2.21-rtems4.11-20110107.diff
+
+%description
+Cross binutils for target arm-rtemseabi4.11
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%setup -q -D -T -n %{name}-%{version} -a0
+cd binutils-%{binutils_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%build
+ export PATH="%{_bindir}:${PATH}"
+ mkdir -p build
+ cd build
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+%endif
+ CFLAGS="$RPM_OPT_FLAGS" \
+ ../binutils-%{binutils_pkgvers}/configure \
+ --build=%_build --host=%_host \
+ --target=arm-rtemseabi4.11 \
+ --verbose --disable-nls \
+ --without-included-gettext \
+ --disable-win32-registry \
+ --disable-werror \
+ --prefix=%{_prefix} --bindir=%{_bindir} \
+ --exec-prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} --libdir=%{_libdir} \
+ --mandir=%{_mandir} --infodir=%{_infodir}
+
+ make %{?_smp_mflags} all
+ make info
+ cd ..
+
+%install
+ export PATH="%{_bindir}:${PATH}"
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+ make DESTDIR=$RPM_BUILD_ROOT install
+
+ make prefix=$RPM_BUILD_ROOT%{_prefix} \
+ bindir=$RPM_BUILD_ROOT%{_bindir} \
+ includedir=$RPM_BUILD_ROOT%{_includedir} \
+ libdir=$RPM_BUILD_ROOT%{_libdir} \
+ infodir=$RPM_BUILD_ROOT%{_infodir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} \
+ exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
+ install-info
+
+# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
+ rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
+
+ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+ touch $RPM_BUILD_ROOT%{_infodir}/dir
+
+# binutils does not install share/locale, however it uses it
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
+
+# We don't ship host files
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
+
+# manpages without corresponding tools
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtemseabi4.11-dlltool%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtemseabi4.11-dlltool*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtemseabi4.11-nlmconv%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtemseabi4.11-nlmconv*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtemseabi4.11-windres%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtemseabi4.11-windres*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/arm-rtemseabi4.11-windmc%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/arm-rtemseabi4.11-windmc*
+ fi
+
+ cd ..
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+# Fix up brp-compress to handle %%_prefix != /usr
+*/brp-compress*)
+ b=$(basename $a)
+ sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+ -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# arm-rtemseabi4.11-binutils
+# ==============================================================
+# %package -n rtems-4.11-arm-rtemseabi4.11-binutils
+# Summary: rtems binutils for arm-rtemseabi4.11
+# Group: Development/Tools
+# %if %build_infos
+# Requires: rtems-4.11-binutils-common
+# %endif
+
+%description -n rtems-4.11-arm-rtemseabi4.11-binutils
+GNU binutils targetting arm-rtemseabi4.11.
+
+%files -n rtems-4.11-arm-rtemseabi4.11-binutils
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_datarootdir}
+
+%dir %{_mandir}
+%dir %{_mandir}/man1
+%{_mandir}/man1/arm-rtemseabi4.11-*.1*
+
+%dir %{_bindir}
+%{_bindir}/arm-rtemseabi4.11-*
+
+%dir %{_exec_prefix}/arm-rtemseabi4.11
+%dir %{_exec_prefix}/arm-rtemseabi4.11/bin
+%{_exec_prefix}/arm-rtemseabi4.11/bin/*
+
+%dir %{_exec_prefix}/arm-rtemseabi4.11/lib
+%{_exec_prefix}/arm-rtemseabi4.11/lib/ldscripts
+# ==============================================================
+# rtems-4.11-binutils-common
+# ==============================================================
+%package -n rtems-4.11-binutils-common
+Summary: Base package for RTEMS binutils
+Group: Development/Tools
+%{?_with_noarch_subpackages:BuildArch: noarch}
+
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+
+%description -n rtems-4.11-binutils-common
+
+RTEMS is an open source operating system for embedded systems.
+
+This is the base for binutils regardless of target CPU.
+
+%post -n rtems-4.11-binutils-common
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
+
+%preun -n rtems-4.11-binutils-common
+if [ $1 -eq 0 ]; then
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz || :
+fi
+
+%files -n rtems-4.11-binutils-common
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_infodir}
+%ghost %{_infodir}/dir
+%{_infodir}/as.info*
+%{_infodir}/bfd.info*
+%{_infodir}/binutils.info*
+%{_infodir}/ld.info*
+%{_infodir}/standards.info*
+%{_infodir}/gprof.info*
+
+%dir %{_prefix}/share
+%dir %{_prefix}/share/locale
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-cpukit.spec:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-cpukit.spec Mon May 23 01:45:14 2011
</font><font color='#997700'>@@ -0,0 +1,157 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+%define _prefix /opt/rtems-4.11
+%define _exec_prefix %{_prefix}
+%define _bindir %{_exec_prefix}/bin
+%define _sbindir %{_exec_prefix}/sbin
+%define _libexecdir %{_exec_prefix}/libexec
+%define _datarootdir %{_prefix}/share
+%define _datadir %{_datarootdir}
+%define _sysconfdir %{_prefix}/etc
+%define _sharedstatedir %{_prefix}/com
+%define _localstatedir %{_prefix}/var
+%define _includedir %{_prefix}/include
+%define _libdir %{_exec_prefix}/%{_lib}
+%define _mandir %{_datarootdir}/man
+%define _infodir %{_datarootdir}/info
+%define _localedir %{_datarootdir}/locale
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+
+%define cpukit_pkgvers 4.9.99.0-20090206-2
+%define cpukit_version 4.9.99.0
+%define cpukit_rpmvers %{expand:%(echo "4.9.99.0-20090206-2" | tr - . )}
+
+Name:<span style="background-color: #FF0000"> </span> rtems-4.11-arm-rtemseabi4.11-cpukit
+Summary:<span style="background-color: #FF0000"> </span> arm-rtemseabi4.11 cpukit
+
+Group: <span style="background-color: #FF0000"> </span> Development/Tools
+Version: %{cpukit_rpmvers}
+Release:<span style="background-color: #FF0000"> </span> 1%{?dist}
+License:<span style="background-color: #FF0000"> </span> GPL
+URL: http://cpukit.gnu.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+%define debug_package %{nil}
+
+BuildRequires: rtems-4.11-arm-rtemseabi4.11-gcc
+
+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/rtems-%{cpukit_pkgvers}.tar.bz2
+
+%description
+RTEMS cpukit for arm-rtemseabi4.11.
+%prep
+%setup -c -T -n %{name}-%{version}
+
+%setup -q -T -D -n %{name}-%{version} -a0
+
+
+%build
+ export PATH="%{_bindir}:${PATH}"
+ mkdir -p build
+
+ cd build
+ ../rtems-%{cpukit_version}/configure \
+ --prefix=%{_prefix} \
+ --target=arm-rtemseabi4.11 \
+ --enable-multilib \
+ --disable-rtemsbsp
+
+ make all RTEMS_BSP=
+ cd ..
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ export PATH="%{_bindir}:${PATH}"
+ cd build
+ make DESTDIR=$RPM_BUILD_ROOT install
+ cd ..
+
+ rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
+ rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+# Fix up brp-compress to handle %%_prefix != /usr
+*/brp-compress*)
+ b=$(basename $a)
+ sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+ -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{version}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtemseabi4.11/(lib|include|sys-root)' \
+ | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/arm-rtemseabi4.11/' | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{version}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{version}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{version}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtemseabi4.11/(lib|include|sys-root)' \
+ | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/arm-rtemseabi4.11/' | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{version}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{version}/find-requires
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+%description -n rtems-4.11-arm-rtemseabi4.11-cpukit
+RTEMS cpukit for target arm-rtemseabi4.11.
+
+%files -n rtems-4.11-arm-rtemseabi4.11-cpukit
+%defattr(-,root,root)
+%dir %{_prefix}
+%{_prefix}/arm-rtemseabi4.11
+# Violates the FHS
+%exclude %{_prefix}/make
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gcc.spec Mon May 23 01:45:14 2011
</font><font color='#997700'>@@ -0,0 +1,895 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+%define _prefix /opt/rtems-4.11
+%define _exec_prefix %{_prefix}
+%define _bindir %{_exec_prefix}/bin
+%define _sbindir %{_exec_prefix}/sbin
+%define _libexecdir %{_exec_prefix}/libexec
+%define _datarootdir %{_prefix}/share
+%define _datadir %{_datarootdir}
+%define _sysconfdir %{_prefix}/etc
+%define _sharedstatedir %{_prefix}/com
+%define _localstatedir %{_prefix}/var
+%define _includedir %{_prefix}/include
+%define _libdir %{_exec_prefix}/%{_lib}
+%define _mandir %{_datarootdir}/man
+%define _infodir %{_datarootdir}/info
+%define _localedir %{_datarootdir}/locale
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+
+%define gcc_pkgvers 4.6.0
+%define gcc_version 4.6.0
+%define gcc_rpmvers %{expand:%(echo "4.6.0" | tr - _ )}
+
+%define newlib_pkgvers 1.19.0
+%define newlib_version 1.19.0
+
+Name:<span style="background-color: #FF0000"> </span> rtems-4.11-arm-rtemseabi4.11-gcc
+Summary:<span style="background-color: #FF0000"> </span> arm-rtemseabi4.11 gcc
+
+Group: <span style="background-color: #FF0000"> </span> Development/Tools
+Version: %{gcc_rpmvers}
+Release:<span style="background-color: #FF0000"> </span> 1%{?dist}
+License:<span style="background-color: #FF0000"> </span> GPL
+URL: http://gcc.gnu.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%define _use_internal_dependency_generator 0
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+# FIXME: Disable lto for now, to avoid dependencies on libelf
+%bcond_with lto
+
+# FIXME: Disable python gdb scripts
+# ATM, no idea how to package them
+%bcond_with pygdb
+
+# FIXME: Disable GCC-plugin
+# Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
+%bcond_with plugin
+
+# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Should be applicable to gcc >= 4.5.0
+%bcond_with gcc_stdint
+
+# versions of libraries, we conditionally bundle if necessary
+%global mpc_version 0.8.1
+%global mpfr_version 2.4.2
+%global gmp_version 4.3.2
+%global libelf_version 0.8.13
+
+# versions of libraries these distros are known to ship
+%if 0%{?fc16}
+%global mpc_provided 0.8.3
+%global mpfr_provided 3.0.0
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?fc15}
+%global mpc_provided 0.8.3
+%global mpfr_provided 3.0.0
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?fc14}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?fc13}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el6}
+%global mpc_provided %{nil}
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el5}
+%global mpc_provided %{nil}
+%global mpfr_provided %{nil}
+%global gmp_provided 4.1.4
+%endif
+
+%if 0%{?suse11_3}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?suse11_4}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.0
+%global gmp_provided 5.0.1
+%endif
+
+%if 0%{?cygwin}
+%global mpc_provided 0.8
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?mingw32}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%define gmp_required 4.1
+%define mpfr_required 2.3.1
+%endif
+
+%if "%{gcc_version}" >= "4.3.3"
+%define cloog_required<span style="background-color: #FF0000"> </span> 0.15
+%endif
+
+%if "%{gcc_version}" >= "4.4.0"
+%define mpfr_required 2.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.5.0"
+%define mpc_required<span style="background-color: #FF0000"> </span> 0.8
+%if %{with lto}
+%define libelf_required<span style="background-color: #FF0000"> </span> 0.8.12
+%endif
+%endif
+
+%if %{defined mpc_required}
+%if "%{mpc_provided}" >= "%{mpc_required}"
+%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
+%{?suse:BuildRequires: mpc-devel >= %{mpc_required}}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpc-devel >= %{mpc_required}
+%endif
+%else
+%define _build_mpc 1
+%define gmp_required<span style="background-color: #FF0000"> </span> 4.2
+%endif
+%endif
+
+%if %{defined gmp_required}
+%if "%{gmp_provided}" >= "%{gmp_required}"
+BuildRequires: gmp-devel >= %{gmp_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}gmp-devel >= %{gmp_required}
+%endif
+%else
+%define _build_gmp 1
+%endif
+%endif
+
+%if %{defined libelf_required}
+%if "%{libelf_provided}" >= "%{libelf_required}"
+BuildRequires: libelf-devel >= %{libelf_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
+%endif
+%else
+%define _build_libelf 1
+%endif
+%endif
+
+
+%if %{defined cloog_required}
+%{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%endif
+
+
+%if %{defined mpfr_required}
+%if "%{mpfr_provided}" >= "%{mpfr_required}"
+BuildRequires: mpfr-devel >= %{mpfr_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
+%endif
+%else
+%define _build_mpfr 1
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: rtems-4.11-arm-rtemseabi4.11-gcc = %{gcc_rpmvers}
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+BuildRequires: flex bison
+%endif
+
+
+BuildRequires: texinfo >= 4.2
+BuildRequires: rtems-4.11-arm-rtemseabi4.11-binutils
+
+Requires: rtems-4.11-gcc-common
+Requires: rtems-4.11-arm-rtemseabi4.11-binutils
+Requires: rtems-4.11-arm-rtemseabi4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
+Requires: rtems-4.11-arm-rtemseabi4.11-newlib = %{newlib_version}-1%{?dist}
+
+%if "%{gcc_version}" >= "4.5.0"
+BuildRequires: zlib-devel
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}zlib-devel
+%endif
+%else
+%endif
+
+%global _gcclibdir %{_prefix}/lib
+
+%if "%{gcc_version}" == "4.6.0"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-rtems4.11-20110522.diff
+%endif
+%if "%{gcc_version}" == "4.5.3"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.3-rtems4.11-20110426.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
+
+%if "%{gcc_version}" == "4.6.0"
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
+%if "%{gcc_version}" == "4.5.3"<span style="background-color: #FF0000"> </span>
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.3-rtems4.11-20110426.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
+
+%if "%{newlib_version}" == "1.19.0"
+Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
+Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110517.diff
+%endif
+
+%if 0%{?_build_mpfr}
+Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
+%endif
+
+%if 0%{?_build_mpc}
+Source61: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+%endif
+
+%if 0%{?_build_gmp}
+Source62: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
+%endif
+
+%if 0%{?_build_libelf}
+Source63: http://www.mr511.de/software/libelf-%{libelf_version}.tar.gz
+%endif
+
+%description
+Cross gcc for arm-rtemseabi4.11.
+
+%prep
+%setup -c -T -n %{name}-%{version}
+
+%setup -q -T -D -n %{name}-%{version} -a0
+cd gcc-%{gcc_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%setup -q -T -D -n %{name}-%{version} -a1
+cd gcc-%{gcc_pkgvers}
+%{?PATCH1:%patch1 -p1}
+cd ..
+
+
+
+
+
+%if %{with gcc_stdint}
+sed -i -e '/thread_file=.*rtems/,/use_gcc_stdint=wrap/ { s/use_gcc_stdint=wrap/use_gcc_stdint=provide/}' gcc-%{gcc_pkgvers}/gcc/config.gcc
+%endif
+
+%setup -q -T -D -n %{name}-%{version} -a50
+cd newlib-%{newlib_version}
+%{?PATCH50:%patch50 -p1}
+cd ..
+ # Copy the C library into gcc's source tree
+ ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
+%if %{with gcc_stdint}
+ rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h
+%endif
+ # Make sure not to be using GPL'ed sources
+ rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux
+ rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos
+
+%if 0%{?_build_mpfr}
+%setup -q -T -D -n %{name}-%{version} -a60
+%{?PATCH60:%patch60 -p1}
+ # Build mpfr one-tree style
+ ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
+%endif
+
+%if 0%{?_build_mpc}
+%setup -q -T -D -n %{name}-%{version} -a61
+%{?PATCH61:%patch61 -p1}
+ # Build mpc one-tree style
+ ln -s ../mpc-%{mpc_version} gcc-%{gcc_pkgvers}/mpc
+%endif
+
+%if 0%{?_build_gmp}
+%setup -q -T -D -n %{name}-%{version} -a62
+%{?PATCH62:%patch62 -p1}
+ # Build gmp one-tree style
+ ln -s ../gmp-%{gmp_version} gcc-%{gcc_pkgvers}/gmp
+%endif
+
+%if 0%{?_build_libelf}
+%setup -q -T -D -n %{name}-%{version} -a63
+%{?PATCH63:%patch63 -p1}
+ # Build libelf one-tree style
+ ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
+%endif
+
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-1%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+
+
+ # Fix timestamps
+ cd gcc-%{gcc_pkgvers}
+ contrib/gcc_update --touch
+ cd ..
+%build
+ mkdir -p build
+
+ cd build
+
+ languages="c"
+ languages="$languages,c++"
+ export PATH="%{_bindir}:${PATH}"
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+ CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
+%else
+# gcc is not ready to be compiled with -std=gnu99
+ CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
+%endif
+ ../gcc-%{gcc_pkgvers}/configure \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --exec_prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} \
+ --libdir=%{_gcclibdir} \
+ --libexecdir=%{_libexecdir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --datadir=%{_datadir} \
+ --build=%_build --host=%_host \
+ --target=arm-rtemseabi4.11 \
+ --disable-libstdcxx-pch \
+ --with-gnu-as --with-gnu-ld --verbose \
+ --with-newlib \
+ --with-system-zlib \
+ --disable-nls --without-included-gettext \
+ --disable-win32-registry \
+ --enable-version-specific-runtime-libs \
+ --enable-threads \
+ %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
+ %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
+ --enable-newlib-io-c99-formats \
+ --enable-languages="$languages"
+
+%if "%_host" != "%_build"
+ # Bug in gcc-3.2.1:
+ # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
+ mkdir -p gcc/include
+ cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
+%endif
+
+ make %{?_smp_mflags} all
+ make info
+ cd ..
+
+%install
+ export PATH="%{_bindir}:${PATH}"
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+
+ make DESTDIR=$RPM_BUILD_ROOT install
+ cd ..
+
+ cd build/arm-rtemseabi4.11/newlib
+ make DESTDIR=$RPM_BUILD_ROOT install-info
+ cd ../../..
+
+%if "%{gcc_version}" <= "4.1.2"
+# Misplaced header file
+ if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
+ mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
+ $RPM_BUILD_ROOT%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include/
+ fi
+%endif
+
+ # host library
+%if "%{gcc_version}" >= "4.2.0"
+ # libiberty doesn't honor --libdir, but always installs to a<span style="background-color: #FF0000"> </span>
+ # magically guessed _libdir
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
+%else
+ # libiberty installs to --libdir=...
+ rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
+%endif
+
+ # We use the version from binutils
+ rm -f $RPM_BUILD_ROOT%{_bindir}/arm-rtemseabi4.11-c++filt%{_exeext}
+
+
+ # We don't ship info/dir
+ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+ touch $RPM_BUILD_ROOT%{_infodir}/dir
+
+ # We don't want libffi's man-pages
+ rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
+
+ # Bug in gcc-3.4.0pre
+ rm -f $RPM_BUILD_ROOT%{_bindir}/arm-rtemseabi4.11-arm-rtemseabi4.11-gcjh%{_exeext}
+
+ # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
+ # the fixinclude-install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/install-tools
+
+ # Bug in gcc > 4.1.0: Installs an unused, empty directory
+ if test -d ${RPM_BUILD_ROOT}%{_prefix}/arm-rtemseabi4.11/include/bits; then
+ rmdir ${RPM_BUILD_ROOT}%{_prefix}/arm-rtemseabi4.11/include/bits
+ fi
+
+ # gcc >= 4.5.0: installs weird libstdc++ python bindings.
+%if ! %{with pygdb}
+ if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
+ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
+ fi
+%endif
+
+ # Collect multilib subdirectories
+ multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
+
+ echo "%defattr(-,root,root,-)" > build/files.newlib
+ TGTDIR="%{_exec_prefix}/arm-rtemseabi4.11/lib"
+ for i in $multilibs; do
+ case $i in
+ \.) echo "%dir ${TGTDIR}" >> build/files.newlib
+ ;;
+ *) echo "%dir ${TGTDIR}/$i" >> build/files.newlib
+ ;;
+ esac
+ done
+
+ rm -f dirs ;
+ echo "%defattr(-,root,root,-)" >> dirs
+ TGTDIR="%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}"
+ for i in $multilibs; do
+ case $i in
+ \.) ;; # ignore, handled elsewhere
+ *) echo "%dir ${TGTDIR}/$i" >> dirs
+ ;;
+ esac
+ done
+
+ # Collect files to go into different packages
+ cp dirs build/files.gcc
+ cp dirs build/files.gfortran
+ cp dirs build/files.objc
+ cp dirs build/files.gcj
+ cp dirs build/files.g++
+ cp dirs build/files.go
+
+ TGTDIR="%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
+ *f771) ;;
+ *f951) ;;
+ *cc1) ;;
+ *cc1obj) ;;
+ *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
+ *collect2) ;;
+ *libobjc*) echo "$i" >> build/files.objc ;;
+ *go1) ;; # ignore: explicitly put into rpm elsewhere
+ *include/objc*) ;;
+ *include/g++*);;
+ *include/c++*);;
+ *include-fixed/*);;
+ *finclude/*);;
+ */go/*) ;; # ignore : explicitly put into rpm elsewhere
+ *adainclude*);;
+ *adalib*);;
+ *gnat1);;
+ *jc1) ;;
+ *jvgenmain) ;;
+ */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
+ */libgo*.a) echo "$i" >> build/files.go ;;
+ %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
+ %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
+ */libstdc++.*) echo "$i" >> build/files.g++ ;;
+ */libsupc++.*) echo "$i" >> build/files.g++ ;;
+ *) echo "$i" >> build/files.gcc ;;
+ esac
+ done
+
+ TGTDIR="%{_exec_prefix}/arm-rtemseabi4.11/lib"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
+ *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
+# all other files belong to newlib
+ *) echo "$i" >> build/files.newlib ;;<span style="background-color: #FF0000"> </span>
+ esac
+ done
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+# Fix up brp-compress to handle %%_prefix != /usr
+*/brp-compress*)
+ b=$(basename $a)
+ sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+ -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtemseabi4.11/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/arm-rtemseabi4.11/'} | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/arm-rtemseabi4.11/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/arm-rtemseabi4.11/'} | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+
+%ifnarch noarch
+# Extract %%__debug_install_post into debug_install_post~
+cat << \EOF > debug_install_post~
+%__debug_install_post
+EOF
+
+# Generate customized debug_install_post script
+cat debug_install_post~ | while read a x y; do
+case $a in
+# Prevent find-debuginfo.sh* from trying to handle foreign binaries
+*/find-debuginfo.sh)
+ b=$(basename $a)
+ sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
+< debug_install_post~ > debug_install_post<span style="background-color: #FF0000"> </span>
+%define __debug_install_post . ./debug_install_post
+
+%endif
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# rtems-4.11-arm-rtemseabi4.11-gcc
+# ==============================================================
+# %package -n rtems-4.11-arm-rtemseabi4.11-gcc
+# Summary: GNU cc compiler for arm-rtemseabi4.11
+# Group: Development/Tools
+# Version: %{gcc_rpmvers}
+# Requires: rtems-4.11-arm-rtemseabi4.11-binutils
+# Requires: rtems-4.11-arm-rtemseabi4.11-newlib = %{newlib_version}-1%{?dist}
+# License: GPL
+
+# %if %build_infos
+# Requires: rtems-4.11-gcc-common
+# %endif
+
+%description -n rtems-4.11-arm-rtemseabi4.11-gcc
+GNU cc compiler for arm-rtemseabi4.11.
+
+# ==============================================================
+# rtems-4.11-arm-rtemseabi4.11-gcc-libgcc
+# ==============================================================
+%package -n rtems-4.11-arm-rtemseabi4.11-gcc-libgcc
+Summary: libgcc for arm-rtemseabi4.11-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+Requires: rtems-4.11-arm-rtemseabi4.11-newlib = %{newlib_version}-1%{?dist}
+License: GPL
+
+%description -n rtems-4.11-arm-rtemseabi4.11-gcc-libgcc
+libgcc arm-rtemseabi4.11-gcc.
+
+
+%files -n rtems-4.11-arm-rtemseabi4.11-gcc
+%defattr(-,root,root)
+%dir %{_prefix}
+
+%dir %{_mandir}
+%dir %{_mandir}/man1
+%{_mandir}/man1/arm-rtemseabi4.11-gcc.1*
+%{_mandir}/man1/arm-rtemseabi4.11-cpp.1*
+%{_mandir}/man1/arm-rtemseabi4.11-gcov.1*
+
+%dir %{_bindir}
+%{_bindir}/arm-rtemseabi4.11-cpp%{_exeext}
+%{_bindir}/arm-rtemseabi4.11-gcc%{_exeext}
+%{_bindir}/arm-rtemseabi4.11-gcc-%{gcc_version}%{_exeext}
+%{_bindir}/arm-rtemseabi4.11-gcov%{_exeext}
+%if "%{gcc_version}" < "4.6.0"
+%{_bindir}/arm-rtemseabi4.11-gccbug
+%endif
+
+%dir %{_libexecdir}
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/arm-rtemseabi4.11
+%dir %{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}
+%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/cc1%{_exeext}
+%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/collect2%{_exeext}
+%if "%{gcc_version}" >= "4.5.0"
+%{?with_lto:%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/lto%{_exeext}}
+%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/lto-wrapper%{_exeext}
+%endif
+
+%files -n rtems-4.11-arm-rtemseabi4.11-gcc-libgcc -f build/files.gcc
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_gcclibdir}
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include
+
+%if "%{gcc_version}" > "4.0.3"
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include/ssp
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include-fixed
+%endif
+
+# ==============================================================
+# rtems-4.11-gcc-common
+# ==============================================================
+%package -n rtems-4.11-gcc-common
+Summary: Base package for rtems gcc and newlib C Library
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+Requires(post):<span style="background-color: #FF0000"> </span> /sbin/install-info
+Requires(preun): /sbin/install-info
+
+%description -n rtems-4.11-gcc-common
+GCC files that are shared by all targets.
+
+%files -n rtems-4.11-gcc-common
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_prefix}/share
+
+%dir %{_infodir}
+%ghost %{_infodir}/dir
+%{_infodir}/cpp.info*
+%{_infodir}/cppinternals.info*
+%{_infodir}/gcc.info*
+%{_infodir}/gccint.info*
+%{_infodir}/gccinstall.info*
+%if "%{gcc_version}" >= "4.6.0"
+%{_infodir}/libquadmath.info*
+%endif
+
+%dir %{_mandir}
+%dir %{_mandir}/man7
+%{_mandir}/man7/fsf-funding.7*
+%{_mandir}/man7/gfdl.7*
+%{_mandir}/man7/gpl.7*
+
+%post -n rtems-4.11-gcc-common
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
+
+%preun -n rtems-4.11-gcc-common
+if [ $1 -eq 0 ]; then
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cppinternals.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccint.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gccinstall.info.gz || :
+fi
+
+# ==============================================================
+# rtems-4.11-arm-rtemseabi4.11-gcc-c++
+# ==============================================================
+%package -n rtems-4.11-arm-rtemseabi4.11-gcc-c++
+Summary: GCC c++ compiler for arm-rtemseabi4.11
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+Requires: rtems-4.11-arm-rtemseabi4.11-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: rtems-4.11-arm-rtemseabi4.11-gcc-c++ = %{gcc_rpmvers}
+%endif
+
+Requires: rtems-4.11-gcc-common
+Requires: rtems-4.11-arm-rtemseabi4.11-gcc = %{gcc_rpmvers}-%{release}
+
+%description -n rtems-4.11-arm-rtemseabi4.11-gcc-c++
+GCC c++ compiler for arm-rtemseabi4.11.
+
+
+%package -n rtems-4.11-arm-rtemseabi4.11-gcc-libstdc++
+Summary: libstdc++ for arm-rtemseabi4.11
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n rtems-4.11-arm-rtemseabi4.11-gcc-libstdc++
+%{summary}
+
+
+%files -n rtems-4.11-arm-rtemseabi4.11-gcc-c++
+%defattr(-,root,root)
+%dir %{_prefix}
+
+%dir %{_mandir}
+%dir %{_mandir}/man1
+%{_mandir}/man1/arm-rtemseabi4.11-g++.1*
+
+%dir %{_bindir}
+%{_bindir}/arm-rtemseabi4.11-c++%{_exeext}
+%{_bindir}/arm-rtemseabi4.11-g++%{_exeext}
+
+%dir %{_libexecdir}
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/arm-rtemseabi4.11
+%dir %{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}
+%{_libexecdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/cc1plus%{_exeext}
+
+
+%files -n rtems-4.11-arm-rtemseabi4.11-gcc-libstdc++ -f build/files.g++
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_gcclibdir}
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}
+%dir %{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include
+%{_gcclibdir}/gcc/arm-rtemseabi4.11/%{gcc_version}/include/c++
+
+
+
+# ==============================================================
+# rtems-4.11-arm-rtemseabi4.11-newlib
+# ==============================================================
+%package -n rtems-4.11-arm-rtemseabi4.11-newlib
+Summary:<span style="background-color: #FF0000"> </span> C Library (newlib) for arm-rtemseabi4.11
+Group:<span style="background-color: #FF0000"> </span> Development/Tools
+License: Distributable
+Version: %{newlib_version}
+Release: 1%{?dist}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+
+Requires: rtems-4.11-newlib-common
+
+%description -n rtems-4.11-arm-rtemseabi4.11-newlib
+Newlib C Library for arm-rtemseabi4.11.
+
+%files -n rtems-4.11-arm-rtemseabi4.11-newlib -f build/files.newlib
+%defattr(-,root,root)
+%dir %{_exec_prefix}
+%dir %{_exec_prefix}/arm-rtemseabi4.11
+%{_exec_prefix}/arm-rtemseabi4.11/include
+
+# ==============================================================
+# rtems-4.11-newlib-common
+# ==============================================================
+%package -n rtems-4.11-newlib-common
+Summary: Base package for RTEMS newlib C Library
+Group: Development/Tools
+Version: %{newlib_version}
+Release: 1%{?dist}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: Distributable
+
+Requires(post):<span style="background-color: #FF0000"> </span> /sbin/install-info
+Requires(preun): /sbin/install-info
+
+%description -n rtems-4.11-newlib-common
+newlib files that are shared by all targets.
+
+%files -n rtems-4.11-newlib-common
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_prefix}/share
+
+%dir %{_infodir}
+%ghost %{_infodir}/dir
+%{_infodir}/libc.info*
+%{_infodir}/libm.info*
+
+%post -n rtems-4.11-newlib-common
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
+
+%preun -n rtems-4.11-newlib-common
+if [ $1 -eq 0 ]; then
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
+fi
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec:1.1
--- /dev/null Mon May 23 07:12:24 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec Mon May 23 01:45:14 2011
</font><font color='#997700'>@@ -0,0 +1,292 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+%define _prefix /opt/rtems-4.11
+%define _exec_prefix %{_prefix}
+%define _bindir %{_exec_prefix}/bin
+%define _sbindir %{_exec_prefix}/sbin
+%define _libexecdir %{_exec_prefix}/libexec
+%define _datarootdir %{_prefix}/share
+%define _datadir %{_datarootdir}
+%define _sysconfdir %{_prefix}/etc
+%define _sharedstatedir %{_prefix}/com
+%define _localstatedir %{_prefix}/var
+%define _includedir %{_prefix}/include
+%define _libdir %{_exec_prefix}/%{_lib}
+%define _mandir %{_datarootdir}/man
+%define _infodir %{_datarootdir}/info
+%define _localedir %{_datarootdir}/locale
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define gdb_version 7.2
+%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}<span style="background-color: #FF0000"> </span>
+
+Name: rtems-4.11-arm-rtemseabi4.11-gdb
+Summary: Gdb for target arm-rtemseabi4.11
+Group: Development/Tools
+Version: %{gdb_rpmvers}
+Release: 1%{?dist}
+License: GPL/LGPL
+URL:<span style="background-color: #FF0000"> </span> http://sources.redhat.com/gdb
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+%define build_sim --enable-sim
+
+
+%if "%{gdb_version}" >= "6.6"
+# suse
+%if "%{?suse}" >= "10.3"
+BuildRequires: libexpat-devel
+%else
+# Fedora/CentOS/Cygwin/MinGW
+BuildRequires: %{_host_rpmprefix}expat-devel
+%endif
+%endif
+
+%if "%{gdb_version}" < "6.7"
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}termcap-devel
+%endif
+%bcond_with system_readline
+%else
+%bcond_without system_readline
+%endif
+%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
+BuildRequires: %{_host_rpmprefix}ncurses-devel
+
+%if "%{gdb_version}" >= "6.8.50"
+%if "%{_build}" != "%{_host}"
+# Can't build python Cdn-X
+%bcond_with python
+%else
+%bcond_without python
+%endif
+%endif
+%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
+
+# Required for building the infos
+BuildRequires: /sbin/install-info
+BuildRequires: texinfo >= 4.2
+
+
+Requires: rtems-4.11-gdb-common
+
+%if "%{gdb_version}" == "7.2"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.11-20100903.diff
+%endif
+%if "%{gdb_version}" == "7.1"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.1-rtems4.11-20100812.diff
+%endif
+
+%description
+GDB for target arm-rtemseabi4.11
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%setup -q -D -T -n %{name}-%{version} -a0
+cd gdb-%{gdb_version}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+# Force using a system-provided libreadline
+%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}
+%build
+ export PATH="%{_bindir}:${PATH}"
+ mkdir -p build
+ cd build
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+%endif
+ CFLAGS="$RPM_OPT_FLAGS" \
+ ../gdb-%{gdb_version}/configure \
+ --build=%_build --host=%_host \
+ --target=arm-rtemseabi4.11 \
+ --verbose --disable-nls \
+ --without-included-gettext \
+ --disable-win32-registry \
+ --disable-werror \
+ %{build_sim} \
+ %{?with_system_readline:--with-system-readline} \
+%if "%{gdb_version}" >= "6.6"
+ --with-expat \
+%endif
+%if "%{gdb_version}" >= "6.8.50"
+%if %{with python}
+ --with-python \
+%else
+ --without-python \
+%endif
+%endif
+ --prefix=%{_prefix} --bindir=%{_bindir} \
+ --includedir=%{_includedir} --libdir=%{_libdir} \
+ --mandir=%{_mandir} --infodir=%{_infodir}
+
+ make %{?_smp_mflags} all
+ make info
+ cd ..
+
+%install
+ export PATH="%{_bindir}:${PATH}"
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+ make DESTDIR=$RPM_BUILD_ROOT install
+
+ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+ touch $RPM_BUILD_ROOT%{_infodir}/dir
+
+# These come from other packages
+ rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
+ rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
+ rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
+
+# We don't ship host files
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
+
+# host library, installed to a bogus directory
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtemseabi4.11-sim.a
+
+%if "%{gdb_version}" >= "7.0"
+# Bug in gdb-7.0, bogusly installs linux-only files
+ somethinguseful=0
+ for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+ case $f in
+ *linux.xml) rm -f $f;;
+ *.xml) somethinguseful=1;;
+ esac
+ done
+ if test $somethinguseful -eq 0; then
+ rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+ fi
+%endif
+
+ cd ..
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+# Fix up brp-compress to handle %%_prefix != /usr
+*/brp-compress*)
+ b=$(basename $a)
+ sed -e 's,\./usr/,.%{_prefix}/,g' < $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+ -e 's,^[ ]*/usr/lib/rpm.*/brp-compress,./brp-compress,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# arm-rtemseabi4.11-gdb
+# ==============================================================
+# %package -n rtems-4.11-arm-rtemseabi4.11-gdb
+# Summary: rtems gdb for arm-rtemseabi4.11
+# Group: Development/Tools
+# %if %build_infos
+# Requires: rtems-4.11-gdb-common
+# %endif
+
+%description -n rtems-4.11-arm-rtemseabi4.11-gdb
+GNU gdb targetting arm-rtemseabi4.11.
+
+%files -n rtems-4.11-arm-rtemseabi4.11-gdb
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_prefix}/share
+
+%dir %{_mandir}
+%dir %{_mandir}/man1
+%{_mandir}/man1/arm-rtemseabi4.11-*.1*
+
+%dir %{_bindir}
+%{_bindir}/arm-rtemseabi4.11-*
+
+# ==============================================================
+# rtems-4.11-gdb-common
+# ==============================================================
+%package -n rtems-4.11-gdb-common
+Summary: Base package for RTEMS gdbs
+Group: Development/Tools
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+%{?_with_noarch_subpackages:BuildArch: noarch}
+
+%description -n rtems-4.11-gdb-common
+
+GDB files shared by all targets.
+
+%post -n rtems-4.11-gdb-common
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
+ /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
+
+%preun -n rtems-4.11-gdb-common
+if [ $1 -eq 0 ]; then
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
+fi
+
+%files -n rtems-4.11-gdb-common
+%defattr(-,root,root)
+%dir %{_prefix}
+%dir %{_prefix}/share
+
+%dir %{_infodir}
+%ghost %{_infodir}/dir
+%{_infodir}/gdb.info*
+
+%{_infodir}/gdbint.info*
+%{_infodir}/stabs.info*
+%{_infodir}/annotate.info*
+
</font></pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>