summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools
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
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')
-rw-r--r--rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg43
-rw-r--r--rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg14
-rw-r--r--rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg14
4 files changed, 72 insertions, 1 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
diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg
new file mode 100644
index 0000000..06d2963
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg
@@ -0,0 +1,14 @@
+#
+# GCC 4.8.3, Newlib 2.2.0-1 (actually a snapshot)
+#
+
+%define gcc_version 4.8.3
+%define newlib_version 2.2.0.20150323
+
+%hash md5 gcc-%{gcc_version}.tar.bz2 7c60f24fab389f77af203d2516ee110f
+%hash md5 newlib-%{newlib_version}.tar.gz a5107ff59e53a5731bdd0e245cbd1ad8
+
+#
+# The gcc/newlib build instructions.
+#
+%include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
index 2429558..c6c28e6 100644
--- a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
@@ -33,7 +33,7 @@
%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe
#
-# Newlib is from CVS and this is via a git mirror. No hash on GIT
+# Newlib is a snapshot
#
%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
diff --git a/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg
new file mode 100644
index 0000000..4b6cd29
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg
@@ -0,0 +1,14 @@
+#
+# GCC 4.9.2, Newlib 2.2.0-1 (actually a snapshot)
+#
+
+%define gcc_version 4.9.2
+%define newlib_version 2.2.0.20150323
+
+%hash md5 gcc-%{gcc_version}.tar.bz2 4df8ee253b7f3863ad0b86359cd39c43
+%hash md5 newlib-%{newlib_version}.tar.gz a5107ff59e53a5731bdd0e245cbd1ad8
+
+#
+# The gcc/newlib build instructions.
+#
+%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg