summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-01 15:19:56 +1100
committerChris Johns <chrisj@rtems.org>2013-04-01 15:19:56 +1100
commit4f26bdb2f0372abc1273f16594e9ac1fd96e0559 (patch)
treef904e09cfe49b15b35b66d96a934a139c497a132 /rtems/config/tools
parentAdd which type of hosts work. Some 32bit hosts have issues. (diff)
downloadrtems-source-builder-4f26bdb2f0372abc1273f16594e9ac1fd96e0559.tar.bz2
Add Canadian Cross support.
Add support to build MinGW tools using Cygwin. This is a Canadian cross build. Do not expand the directives when parsing a configuration file. Hold in the package object the text as read from the configuration file. Still parse the logic but leave the macros. This allows a configuration to be varied when the build happens. The Canadian cross uses this to build a build compiler used to build a Cxc runtime. Add Cxc support to the build module. In the defaults add rm and rmfile macros, add Cxc paths and pre-build script code. In the setbuilder check for a Cxc build and if so and the package allow Cxc build the build host version then the host target version. Add cygiwn support to the defaults processing and to the Windows module.
Diffstat (limited to 'rtems/config/tools')
-rw-r--r--rtems/config/tools/rtems-binutils-2.20.1-1.cfg3
-rw-r--r--rtems/config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg8
-rw-r--r--rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg20
-rw-r--r--rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg8
-rw-r--r--rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg28
-rw-r--r--rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg30
-rw-r--r--rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg10
-rw-r--r--rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg4
8 files changed, 37 insertions, 74 deletions
diff --git a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg
index 21272e9..172d2b2 100644
--- a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg
+++ b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg
@@ -8,6 +8,9 @@
%define binutils_version 2.20.1
Patch0: %{rtems_binutils_patches}/binutils-2.20.1-rtems4.10-20100826.diff
+%ifos win32 mingw ming32 cygwin
+ Patch1: %{rtems_binutils_patches}/cygwin/binutils-2.20.1-cygwin-w64-20130324.diff
+%endif
#
# RTEMS Build Set patches.
diff --git a/rtems/config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg b/rtems/config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg
index 83773ad..f115447 100644
--- a/rtems/config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg
@@ -15,14 +15,6 @@
%define with_plugin 0
%define with_iconv 0
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
-%ifn %{defined enable_obsolete}
-%define enable_obsolete 0
-%endif
-
#
# The RTEMS 4.9 patches
#
diff --git a/rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg b/rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg
index 36e1861..6035486 100644
--- a/rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg
@@ -2,6 +2,14 @@
# GCC 4.4.7, Newlib 1.18.0
#
+#
+# M32C C++ does not work.
+# gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
+#
+%if %{_target} == m32c-rtems4.10
+%define enable_cxx 0
+%endif
+
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
@@ -16,18 +24,6 @@
%define with_iconv 1
#
-# M32C C++ does not work.
-# gcc-4.4.7/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
-#
-%if %{_target} == m32c-rtems4.10
-%define enable_cxx 0
-%endif
-
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
-#
# The RTEMS 4.10 patches
#
Patch0: %{rtems_gcc_patches}/gcc-core-4.4.7-rtems4.10-20120314.diff
diff --git a/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg
index 683393a..41c0fe1 100644
--- a/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg
@@ -15,14 +15,6 @@
%define with_plugin 0
%define with_iconv 1
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
-%ifn %{defined enable_obsolete}
-%define enable_obsolete 0
-%endif
-
#
# Libiberty strsignal fix
#
diff --git a/rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg b/rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
index 5d78587..8a73626 100644
--- a/rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.6.3-newlib-1.20.0-1.cfg
@@ -2,19 +2,6 @@
# GCC 4.6.3, Newlib 1.20.0
#
-%include %{_configdir}/checks.cfg
-%include %{_configdir}/base.cfg
-
-%define gcc_version 4.6.3
-%define newlib_version 1.20.0
-%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
-%define with_iconv 1
-
#
# AVR C++ does not work.
# configure: error: unable to detect exception model
@@ -31,9 +18,18 @@
%define enable_cxx 0
%endif
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 4.6.3
+%define newlib_version 1.20.0
+%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
+%define with_iconv 1
#
# The RTEMS 4.11 patches
diff --git a/rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg b/rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg
index 04d2f97..18bb1b7 100644
--- a/rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg
@@ -2,19 +2,6 @@
# GCC 4.7.2., Newlib 1.20.0
#
-%include %{_configdir}/checks.cfg
-%include %{_configdir}/base.cfg
-
-%define gcc_version 4.7.2
-%define newlib_version 1.20.0
-%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
-%define with_iconv 1
-
#
# AVR C++ does not work.
# configure: error: unable to detect exception model
@@ -31,10 +18,6 @@
%define enable_cxx 0
%endif
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
#
# If arm-rtems4.11 add --enable-obsolete.
#
@@ -44,6 +27,19 @@
%define enable_obsolete 0
%endif
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 4.7.2
+%define newlib_version 1.20.0
+%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
+%define with_iconv 1
+
#
# The RTEMS 4.11 patches
#
diff --git a/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
index a8d72d7..5d1d3d4 100644
--- a/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
@@ -16,14 +16,6 @@
%define with_plugin 0
%define with_iconv 1
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
-%ifn %{defined enable_obsolete}
-%define enable_obsolete 0
-%endif
-
#
# The RTEMS 4.11 patches
#
@@ -32,7 +24,7 @@ Patch0: %{rtems_gcc_patches}/gcc-4.7.2-rtems4.11-20121026.diff
# Incompatible with Texinfo 5
%if %{__makeinfo_ver} >= 5.0
- %error Incomaptible version of makeinfo found!
+ %error Incomaptible version of makeinfo found!
%endif
#
diff --git a/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg
index ae5500a..082fb66 100644
--- a/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8-ss-newlib-2.0.0-1.cfg
@@ -15,10 +15,6 @@
%define with_plugin 0
%define with_iconv 1
-%ifn %{defined enable_cxx}
-%define enable_cxx 1
-%endif
-
#
# The RTEMS 4.11 patches
#