summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-24 12:41:07 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-26 08:39:30 -0500
commitc13abcc1a54d5c90c8eb6506669ee3b108678dae (patch)
tree73ffefc67959f7a22d4f28d060f700c2f09fcf7b /rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
parentsb: Make the source and patch labels have sortable label. (diff)
downloadrtems-source-builder-c13abcc1a54d5c90c8eb6506669ee3b108678dae.tar.bz2
Update newlib to 20150223 snapshot tarball
This includes Joel's patch to dynamically probe for the proper <inttypes.h> setting for intptr_t and uintptr_t. This eliminates many printf() format warnings due to them being incorrectly defined.
Diffstat (limited to 'rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg')
-rw-r--r--rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg43
1 files changed, 43 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
new file mode 100644
index 0000000..875dc5c
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
@@ -0,0 +1,43 @@
+#
+# GCC 4.8.x., Newlib GIT.
+#
+
+%ifn %{defined gcc_version}
+ %error No GCC version defined.
+%endif
+
+%ifn %{defined newlib_version}
+ %error No Newlib version defined.
+%endif
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+%include %{_configdir}/versions.cfg
+
+%define mpfr_version 3.0.1
+%define mpc_version 0.8.2
+%define gmp_version 5.0.5
+
+%define with_threads 1
+%define with_plugin 0
+
+%ifn %{defined with_iconv}
+ %define with_iconv 1
+%endif
+
+#
+# Hash checksums of the libraries used in GCC.
+#
+%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a
+%hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6
+%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe
+
+#
+# Newlib is a snapshot
+#
+%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
+
+#
+# The gcc/newlib build instructions. We use 4.8 Release 1.
+#
+%include %{_configdir}/gcc-4.8-1.cfg