25 Commits

Author SHA1 Message Date
Sebastian Huber
509dfbdd2e Support in-tree CLooG and ISL libraries for GCC
Update #3577.
2018-11-05 07:56:17 +01:00
Chris Johns
96c414c8ff windows: Remove BuildRoot from all configs, add a short tmp path.
Closes #3562.
2018-11-05 15:46:42 +11:00
Sebastian Huber
100ddee925 Allow external Newlib sources 2018-07-23 06:59:15 +02:00
Chris Johns
858b6488e4 gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3294
2018-02-07 15:28:35 +11:00
Chris Johns
71c76d09e8 gcc: Disable makeinfo cause newer versions do not build gcc-4.8 docs.
Newer makeinfo tools cannot build the existing texinfo in gcc so
disable building it. This will not be fixed on the gcc branch.

Updates #3027.
2017-08-09 09:36:12 +10:00
Sebastian Huber
1ad33b0f96 Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of
the host system as possible.
2017-03-31 09:55:08 +02:00
Chris Johns
534332f22a binutils,gcc: Add support to control LTO and Gold. 2016-09-12 12:32:26 +10:00
Sebastian Huber
fba2549d5c rtems4.11: OpenMP support for ARM, PowerPC, SPARC 2015-07-07 09:33:30 +02:00
Hesham ALMatary
d758ab9adc Modify GNU's common backend configuration files to build from external sources 2015-05-06 16:20:09 +10:00
Chris Johns
d4eb08f55a Windows native build fixes.
The testing of building on Windows is done using MSYS2.
2015-02-07 17:58:17 +11:00
Chris Johns
8197b8ea04 Add the host name to the package name.
Adding the host name results in the tar files created by the
--bset-tar-file and --pkg-tar-files to contain the host name.
This is useful when building Cxc packages.
2015-01-18 15:34:35 +11:00
Sebastian Huber
dd51e39fe4 sb: Statically link zlib for GCC on MinGW 2014-12-04 09:00:51 +01:00
Chris Johns
9a15c40e1b sb: Implement %source and %patch to manage source and patches.
Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.
2014-05-13 23:26:09 +10:00
Chris Johns
ed8a66a1a6 config: Add support for gcc-4.8-branch testing. 2014-03-26 17:13:47 +11:00
Chris Johns
b8b0f4452f config: Use ${build_top} to change dir to parent.
On NetBSD with ksh changing into a symlink made PWD the link's
target path so a 'cd ..' returned you to that parent and not
the parent you started from. Record the build top and then
change back to that path.

Change the package names to the actual packages and remove the
extra directory in the build tree. This makes the paths simpler.
2013-09-10 16:19:20 +10:00
Chris Johns
2f4bd55055 config: Fix the empty case of extra gcc options. 2013-08-27 07:47:44 +10:00
Chris Johns
f4e903532d config: Fix the use of the extra options. 2013-08-22 13:24:14 +10:00
Chris Johns
75aa2db1c6 config: Add support for extra GCC configure options. 2013-08-22 11:38:10 +10:00
Chris Johns
27d6ea0dd1 config: Add support for iconv encodings.
Turn off iconv support for the AVR because the arrays are too big.
2013-08-14 14:06:30 +10:00
Chris Johns
db65c6aaf1 Support Canadian cross builds on FreeBSD (and other hosts).
Set up the rules to manage the separate host and build setting to
allow a Canadian cross to complete.

Update the scripts to move the build directory and host/build
flags into the defaults so they are common for all build
configurations.
2013-05-15 12:15:14 +10:00
Chris Johns
4ce931b413 Add CVS download support.
These changes complete the CVS download support.
2013-04-20 21:47:28 +10:00
Chris Johns
649a64c0af Add download git support.
Add support to use a git cloned repo as the source. Move the download
code out of the build module and into a separate module. Add to this
module support for git.

Update the GCC common configuration to support using a symlinked
git repo.

Add checks for all languages.
2013-04-16 14:28:34 +10:00
Chris Johns
b8ee74d356 Add a %testing section to the configuration files. 2013-04-15 13:26:36 +10:00
Chris Johns
2b069dc82a Merge back in the multi-patch support to the gcc common configuration. 2013-04-02 10:17:57 +11:00
Chris Johns
4f26bdb2f0 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.
2013-04-01 15:19:56 +11:00