2010-05-18libc/glibc: fix as/ld checks against recent binutils
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 23:54:55 +0200] rev 1967
libc/glibc: fix as/ld checks against recent binutils

Backported from:
http://sourceware.org/ml/libc-alpha/2009-09/msg00024.html

Thanks to Khem RAJ for pointing to this fix:
http://sourceware.org/ml/crossgcc/2010-05/msg00033.html

2010-05-22test-suite: apply cleanup pass
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 May 2010 22:04:31 +0200] rev 1966
test-suite: apply cleanup pass

Remove all non-modifiable items (target tuple, gcc version, toolchain path...)
Makefile syntax ( use $(...) instead of ${...} )
Update doc
Space-damage cleanups

2010-05-19test-suite: Added new test suite feature (experimental)
Martin Lund <mgl@doredevelopment.dk> [Wed, 19 May 2010 17:53:04 +0200] rev 1965
test-suite: Added new test suite feature (experimental)

This patch adds support for installing the gcc test suite. A helper
Makefile is provided for building and running the gcc tests.

The default configuration runs all gcc tests and requires automatic
ssh/scp login access to a networked target board. See README for
more details.

Note: Current feature is tested with the powerpc-unknown-linux-gnu
sample but it should work with others as well.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>

2010-05-22scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATH
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 12:37:02 +0200] rev 1964
scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATH

Depending on (predefined) macro __APPLE__, use DYLD_LIBRARY_PATH
instead of LD_LIBRARY_PATH.

2010-05-22docs/overview.txt: Provide short mercurial HOWTO
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 18:48:50 +0200] rev 1963
docs/overview.txt: Provide short mercurial HOWTO

The usage of hg mq is imho not very well documented.
Give a short intro for the most important use cases
for contributions to ct-ng.

yann.morin.1998@anciens.enib.fr:
Slightly rewrote the explanations for the introductory message.

2010-05-17ct-ng: Add ability to configure and use some GNU tools
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 14:11:08 +0200] rev 1962
ct-ng: Add ability to configure and use some GNU tools

Make the paths to libtool, objcopy, objdump, readelf, patch configurable.

2010-05-22scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 17:30:44 +0200] rev 1961
scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS

The shell wrapper script uses a nonportable call to readlink.
Thus, always use the binary wrapper under BSD/MacOS.

yann.morin.1998@anciens.enib.fr:
Use 'case' instead of 'if'.

2010-05-17scripts/wrapper.in: Add a comment about readlink not being portable.
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 12:27:32 +0200] rev 1960
scripts/wrapper.in: Add a comment about readlink not being portable.

Documented that the call to readlink will not work on BSD systems.

2010-05-17configure: make call to readlink portable to non-GNU (BSD) systems
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 12:23:24 +0200] rev 1959
configure: make call to readlink portable to non-GNU (BSD) systems

The argument '-e' for readlink is a GNU extension.
In setting the variable 'where' the argument '-e' is not necessary, thus eliminated.

2010-05-19scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:13:00 +0200] rev 1958
scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.

On 64bit MacOS `gcc -dumpmachine` gives i686 for the host machine.
This conflicts with the expectations of some following configure scripts
that a 64bit x86 is given as x86_64; i686 is understood as a 32 bit machine.
config.guess sets the host machine in CT_BUILD correctly.

yann.morin.1998@anciens.enib.fr:
As suggested by Khem RAJ on the ML, always use config.guess.