Commit Graph

1475 Commits

Author SHA1 Message Date
Ingmar Schraub
bc82244af1 x86_64: is a MMU-aware arch, so select ARCH_USE_MMU 2009-08-28 11:34:49 +02:00
Ingmar Schraub
9ce4f4993a duma: fix version string.
DUMA uses '_' not '.' for major/minor/sub separation.
2009-08-28 11:33:56 +02:00
Jim F
015719a12a glibc: fix build error caused by incorrect variable assignment
During the conversion to using bash arrays, the glibc build script
was improperly converted, and contains an incorrect variable
assignment to the config_options array.
2009-08-24 19:20:57 +02:00
Yann E. MORIN"
4de6139e7e Merge the bash_array branch.
For every components where it makes sense, use bash arrays (instead
of a string with space-separated values) to store the options pased
to ./configure.
2009-08-19 19:52:04 +02:00
Yann E. MORIN"
83a48e12f0 Allow setting --enable-cxx-flags on gcc ./configure
Some setups require one to pass extra CXX flags at the time of ./configure.
Make it easy.
2009-08-19 19:44:45 +02:00
Yann E. MORIN"
8dd4a2de00 Use bash arrays to store binutils config options 2009-08-19 19:44:44 +02:00
Yann E. MORIN"
a72cc670b8 Make glibc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
59a37160af Make gdb's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
25303fc30a Make dmalloc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
f255716872 Make gcc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
3af5465103 Make eglibc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:30 +02:00
Yann E. MORIN"
fdbe62cf0d configure: check for bash-3.1 or above
This is required to use the array variables that came with bash-3.1.
2009-08-19 19:41:24 +02:00
Yann E. MORIN"
e4855367b4 [libc-eglibc] Rewrite part of the code
Rewrite part of the code to better match the rest.
Most notably, rewrite handling of:
  if [ ... ] && [ ... ]
to:
  if [ ... -a ... ]

This has the positive side effect of calling "[" only once, although
"[" is probably a shell built-in.
2009-07-27 22:16:07 +02:00
Yann E. MORIN"
795d135b7f [libc-eglibc] Fix testing for existing files
To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]"
Checking for a file exsitence with "-a" is a bashism.
Althoug we _are_ using bash, it's disturbing as it can be misread as
the 'and' operator. Fix by using "-f".
2009-07-27 22:14:08 +02:00
Giammarco Zacheo
9d1cbf2b41 samples: add eglibc-based toolchain for MIPS. 2009-07-21 01:05:59 +02:00
Yann E. MORIN"
e5200bca3b config: add Linux kernel 2.6.30.5 2009-08-19 17:05:42 +02:00
Yann E. MORIN"
38cb273254 config: update Linux kernel long-term stable to 2.6.27.31. 2009-08-19 17:05:17 +02:00
Yann E. MORIN"
424f64c487 Merge the AVR32 support branch to the default branch. 2009-08-08 22:15:25 +02:00
Yann E. MORIN"
c57a08f7bc Update README on how to send proper patches
Add a few lines of explanations on how to correctly setup
and use Mercurial to send proper patches.
2009-08-07 18:24:25 +02:00
Yann E. MORIN"
ff781288f3 Add sections to the README 2009-08-07 18:30:45 +02:00
Yann E. MORIN"
3fae0d4f8b Fix typo in README 2009-08-07 18:25:54 +02:00
Yann E. MORIN"
5047fc6e51 Update the README with the new URL to the project homepage
The URL for the crosstool-NG homepage has changed. Update the
README accordingly. The old URL is still valid, though.
2009-08-07 17:25:20 +02:00
Yann E. MORIN"
13ae4ac9aa config/gcc: re-order versions
Move the gcc-4.3.4 version to its place.
2009-08-07 18:21:29 +02:00
Thomas Petazzoni
a4c72b8a1b gcc: add support for 4.3.4
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-06 18:17:01 +02:00
Thomas Petazzoni
e17fca599d gcc: add patch to fix PR37436
When compiling some C++ code, GCC 4.3.x fails with an internal
compiler error. The bug report is available at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37436. The included patch
is the one that has been merged in the trunk of gcc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-05 15:23:52 +02:00
Yann E. MORIN"
6370afc4f4 config: make CONFIG_SHELL default to bash
Some components (eg. GMP) will fail to correctly build if
the CONFIG_SHELL is not bash (eg. ash or dash). So make bash
the default CONFIG_SHELL.

Keep ash as a possible selection, as future versions of those
currently /broken/ tools may come fixed wrt to CONFIG_SHELL
being POSIX-ly compliant.
2009-08-06 19:40:26 +02:00
Oron Peled
b0f5a18c32 [complib:mpfr] Fix building MPFR in some weird cases
The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.

In my case the source directory was named:
  .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
  .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests

Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]

So the attached patch simplify the macros and pass the path as string
from the Makefile.
2009-08-03 00:49:25 +02:00
Yann E. MORIN"
946a86fb67 [config] Merge CONFIG_SHELL selection. 2009-08-03 08:50:56 +02:00
Yann E. MORIN"
70f87b8969 [config] Warn againt using ash as CONFIG_SHELL
It apears that more and more ./configure scripts and Makefiles
make use of non-POSIXly correct shell constructs, that don't
work with ash.

For now, just warn the user against using ash, but keep it as
an option in case newer versions of the /broken/ components
come fixed, and we can again use ash, as it is in some cases
really faster than bash.
2009-08-02 23:50:22 +02:00
Yann E. MORIN"
33ed1557b6 Merge the queue with all new component versions. 2009-08-02 23:38:37 +02:00
Yann E. MORIN"
200c8a2c91 [cc-gcc] Add latest versions
Add gcc-4.4.1
2009-08-02 23:33:38 +02:00
Yann E. MORIN"
961bf299cd [scripts-add-version] Handle gcc 4.4+
Handle gcc-4.4+ when adding a new gcc version.
2009-08-02 23:33:38 +02:00
Yann E. MORIN"
540d681568 [comp-lib-gmp] Add latest versions
Add 4.3.0 and 4.3.1.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
8f375a1411 [tools-libelf] Add latest version.
Add libelf 0.8.11, propagate patchset from 0.8.10.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
4892bbc726 [libc-eglibc] Add latest version
Add latest branch 2_10.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
70a15a5026 [debug-ltrace] Add latest version.
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
76a9f0fd16 [debug-duma] Add latest versions
Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
88cac8531b [kernel-linux] Add latest versions
Add 2.6.29.{5,6} and 2.6.30{,.1}
Update 2.6.27.24 to 2.6.27.26 as long-term stable.
2009-08-02 23:33:35 +02:00
Yann E. MORIN"
27cdd4367c [config] Allow user to specify custom CONFIG_SHELL
In case the shell the user wants to use as CONFIG_SHELL is located in a
weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4),
let the user enter the patch to the shell.
2009-08-02 20:06:44 +02:00
Yann E. MORIN"
d6195c6483 [config] Add bash as a possible CONFIG_SHELL
On some systems and/or for some components, it may be necessary to
explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02 20:06:06 +02:00
Yann E. MORIN"
a08142a02a [config] Change the way to select the CONFIG_SHELL
Transform the single boolean option to a 'choice' selection
with two options: "sh" and "ash".

This is needed to later add "bash" as override.
2009-08-02 23:43:15 +02:00
Bart vdr. Meulen
7c3dcb42dc fix wrapper script for symlinks
The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>

---
2009-08-02 16:45:43 +02:00
Bart vdr. Meulen
a183b3f8bc Add g++ to required tools
Because gmp is now always build with --enable-cxx,
g++ has become a required tool

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>

---
2009-08-02 16:45:33 +02:00
Oron Peled"
c0483fc7ec [configure] Fix automake version check.
The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.

Patch fixed by "Yann E. MORIN", with the added comment:

The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.
2009-08-01 19:18:12 +02:00
Yann E. MORIN"
ea31afdf04 Require GNU awk at ./configure time.
Some components (specifically {,e}glibc) will not build when awk
is not GNU awk. Make ./configure check for GNU awk.
2009-07-22 20:42:23 +02:00
Yann E. MORIN"
82f9efebd8 Make it build again for non-local use.
Using colons (:) in the version string creates Makefile problems:

Makefile:195: *** multiple target patterns.  Stop.
make: *** [build] Error 2
2009-07-15 09:22:47 +02:00
Yann E. MORIN"
2488efa77c Merge the canadian branch to default.
Now the preliminray support for canadian-crosses is done,
merge to default. The few remaining quirks, if any, will
be resolved on mainstream.
2009-06-26 19:55:33 +02:00
Bart van der Meulen
c24cfdd703 [samples] Add a linux -> mingw32 -> i686-linux canadian sample
Add a sample that builds on Linux a mingw32-hosted toolchain that
generates code for i686-none-linux-gnu.

Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
5a4ac4ed36 [samples] Don't mix canadian samples with non-canadian ones.
- save the canadian smples in their own way, so as not to
  mix non-canadian samples with canadian ones
- list canadian samples with the host information
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
f65cb24909 Cleanup the handling of canadian settings
Bring handling the 'canadian' settings as par with the existing
'cross' settings.
2009-06-26 19:09:22 +02:00