30 Commits

Author SHA1 Message Date
Joel Sherrill
c13abcc1a5 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.
2015-03-26 08:39:30 -05:00
Chris Johns
81ccf41bc0 Update all 4.11 archs to newlib-2.2.0-1 and gdb-7.8.2 where possible.
Remove the extra gdb-7.8.1.cfg and added support to allow GDB tar
compression to be version defined. GDB has changed it default to .xz.
2015-02-07 10:46:49 +11:00
Chris Johns
7c7eb86e0c Change to using newlib snapshot release 2.2.0-1 and gdb 7.8.1. 2015-02-07 10:46:49 +11:00
Chris Johns
1b11d05bdf rtems4.11: Upgrade to gcc-4.9.2. Build rtems-tools and install.
RTEMS kernel requires the rtems-tools package be installed to
build the libdl tests.
2014-10-31 15:11:10 +11:00
Chris Johns
7c8c1d1dea rtems-4.11: Switch to newlib's git repo. 2014-10-07 20:50:43 +11:00
Chris Johns
aaa015eda0 rtems-4.11: Do not build GDB sim on MinGW32 for some targets.
They are:
  m32c
  microblaze
  mips
  moxie
  powerpc
  sparc
  v850
2014-08-05 22:59:43 +00:00
Chris Johns
114ef08279 RTEMS 4.11 Update to gcc-4.8.3 with Newlib CVS 26-Jul-2014.
Refactor some of the configurations to make it easier to maintain.

Add gcc-4.9.x support.
2014-07-25 04:55:14 +00:00
Chris Johns
43252be1ba config: Update to gdb-7.7 for a range of archs.
Update lm32, m32c, m32r, m68k, microblaze, mips, powerpc, sh, sparc64
v850.
2014-05-01 05:38:09 +00:00
Joel Sherrill
d812ad5b46 4.11/rtems-m32c.bset: Enable building gcc again 2014-04-16 13:05:30 -05:00
Chris Johns
53141b4975 4.11: Move to the released newlib-2.1.0. 2014-01-21 12:03:30 +11:00
Chris Johns
69dca93af5 Update to binutils 2.24, gcc 4.8.2, newlib 11-Dec-2013 and gdb 7.6.2.
Note, some architectures remain broken with the new gcc.
2013-12-14 12:21:27 +11:00
Chris Johns
f4a8a421fe rtems: Revert gdb to gdb-7.6 as gdb-7.6.1 fails. 2013-09-06 15:56:59 +10:00
Chris Johns
18b01e82cb config: Update RTEMS to gdb-7.6.1. 2013-09-03 08:33:08 +10:00
Chris Johns
51a669f001 config: Disable ICONV support for the m32c. 2013-08-22 11:41:10 +10:00
Chris Johns
ebf8a1f0f8 Automtically build the Autotools to bootstrap RTEMS.
This changes adds support to build the autotools if the host installed
version is not a suitable version. Autoconf and automake have hard coded
references to the install prefix and host tools and this makes it impossible
to relocate, that is use in any path other than the install prefix. To
bootstrap automake you need to first build a suitable autoconf and with that
you can built automake for the install prefix. The other complication is
not referencing the install prefix in the path when building in the RSB.
Having the install prefix in the path can result in strange issues appearing
such as gcc using a new assembler feature not present in an older assember
installed under the install prefix.

The process is to build the autotools using an install prefix to an
internal path inside the RSB temporary path and to use that autoconf
to build the version for the install prefix. The internal install
prefix version is also used to bootstrap RTEMS.
2013-07-16 10:02:41 +10:00
Chris Johns
8113b768b0 m32c: As per GCC PR 50928 use -O0 to build libgcc. 2013-06-06 15:13:18 +10:00
Chris Johns
c36107aca3 gcc: RTEMS 4.11 uses 4.8.1 release. 2013-06-01 09:38:54 +10:00
Chris Johns
1a56a07605 Add bare/config and move the source-builder/config to it.
Rework the RTEMS build set files to point to the new location.

Move the files into devel, this follows the ports naming in
FreeBSD.

Update the macros, defaults, and options to support this.
2013-05-14 11:08:02 +10:00
Chris Johns
1aade53a43 rtems-4.11: binutils 2.23.2, gcc-4.8.0, newlib-cvs-30-April-2013, gdb-7.6 2013-04-30 15:09:13 +10:00
Joel Sherrill
c931fbeccf rtems/config/4.11/rtems-*.bset: Add gdb based BSPs for testing
Also add notes on some skyeye and qemu based ones.
2013-04-30 09:24:53 +10:00
Chris Johns
a702d9fe44 Remove the .cfg. Not needed. 2013-04-29 08:57:17 +10:00
Chris Johns
b3b8dd31d0 Always build RTEMS. 2013-04-28 12:54:47 +10:00
Chris Johns
b022691026 Override the target build flags. 2013-04-15 17:03:09 +10:00
Chris Johns
3e86a96c52 Update RTEMS 4.11 to GCC 4.7.3.
All build sets for RTEMS 4.11 that where using GCC 4.7.2 have been
updated to GCC 4.7.3. This release uses a new patch from the
rtems-tools git repo.

The AVR tools have the target CFLAGS forced to '-O2 -g' to work
around bugs in the AVR GCC compiler related to the default
optimizations used when building the various run-time libraries.
2013-04-14 18:08:10 +10:00
Chris Johns
1f9e551459 Switch to binutils-2.23.1. 2013-03-12 20:15:39 +11:00
Chris Johns
48e1cd44ee Move all patches to the rtems-tools.git repo.
All patches are now downloaded. No patches or source is held
in the RTEMS Source Builder repo.

As part of this the build sets now have a single rtems_arch define
and the base RTEMS 4.11 build set now creates the _target macro.
With this change a method to manage RTEMS specific patches has been
put in place where build sets can define patches. This avoids needing
special configuration files.
2013-03-11 10:58:40 +11:00
Chris Johns
ef7c093a4f Change to newlib 2.0.0.
Move the stable to newlib 2.0.0 by default and remove the RTEMS specific
newlib patch which is mostly the changes from 2010.
2013-03-08 14:02:26 +11:00
Chris Johns
b521098ad6 Clean up the per target C/C++ handling. 2013-03-05 14:30:31 +11:00
Chris Johns
458b11bdfb Always build the expat package. 2013-02-13 15:50:36 +11:00
Chris Johns
d963553b51 Restructure RTEMS Config Files
Add arch build files. This allows archs to have different versions
and patches for specific tools.

Break the RTEMS config directory up into separate directories to
make long term maintenance easier. This required a change to config.py
to handle the config files being in subdirs of the config directory.

The defaults have been updated to include the install SB root so
packages built before a package are available.

Add makeinfo to the required tools. GDB (and others) need it to
build without error.
2013-02-13 11:35:36 +11:00