2010-05-30docs: update credtis, point to the repository log
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 May 2010 18:19:05 +0200] rev 1975
docs: update credtis, point to the repository log

The docs/CREDITS file dates back to the SVN repository.
Now that we use Mercurial, the repository stores appropriate
authorship for each commit. Say so in the CREDITS.

2010-05-27kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 27 May 2010 10:36:03 +0200] rev 1974
kernel/linux: update to latest versions

2010-05-24kconfig/lxdialog: more portable and use ncurses from macports on MacOS
Titus von Boxberg <titus@v9g.de> [Mon, 24 May 2010 16:33:45 +0200] rev 1973
kconfig/lxdialog: more portable and use ncurses from macports on MacOS

check-lxdialog.sh now correctly tests for ncurses and is a bit more portable.
On Darwin it uses the ncurses from macports.

2010-05-24cc/gcc: Make usage of --enable-target-optspace configurable
Titus von Boxberg <titus@v9g.de> [Mon, 24 May 2010 16:34:55 +0200] rev 1972
cc/gcc: Make usage of --enable-target-optspace configurable

Optionally configure to compile gcc-internal libs with -Os.

yann.morin.1998@anciens.enib.fr:
Rename the config options, it is in the GCC /namespace/.

2010-05-25docs: Provide new Readme for MacOS
Titus von Boxberg <titus@v9g.de> [Tue, 25 May 2010 18:25:11 +0200] rev 1971
docs: Provide new Readme for MacOS

Short README for usage of ct-ng under MacOS.
Remove obsolete MacOS-X.txt

yann.morin.1998@anciens.enib.fr:
Make it 80-columns clean, plus a few fixes

2010-05-22scripts/build/internals.sh: compile wrapper with portable options.
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 22:01:18 +0200] rev 1970
scripts/build/internals.sh: compile wrapper with portable options.

static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.

2010-05-23configure: add path to libtool to pathlist
Titus von Boxberg <titus@v9g.de> [Sun, 23 May 2010 16:34:15 +0200] rev 1969
configure: add path to libtool to pathlist

forgot var=libtool

2010-05-15debug/ltrace: fix LDFLAGS for libsupc++ and libiberty
Robert Schwebel <rsc@pengutronix.de> [Sat, 15 May 2010 07:42:55 +0200] rev 1968
debug/ltrace: fix LDFLAGS for libsupc++ and libiberty

The configure script correctly detects libsupc++ and libiberty, but in
the linker stage it tries to link in both libraries without taking care
of the test result.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
[yann.morin.1998@anciens.enib.fr: rework patch depth to be -p1]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

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.

2010-05-17configure: Do not require stat to be of GNU coreutils
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 11:29:26 +0200] rev 1957
configure: Do not require stat to be of GNU coreutils

calls to stat have been made portable, thus it is not necessary
that the GNU version is present on the user's system.

2010-05-19scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:22:32 +0200] rev 1956
scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.

Call to get the directory mode depending on $CT_SYS_OS

yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.

2010-05-19build/internals.sh: Replace nonportable call to stat
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:08:23 +0200] rev 1955
build/internals.sh: Replace nonportable call to stat

The call to stat to find out if a file is a symlink works only on GNU systems,
and the replacing portable call to readlink is also shorter and more concise code.

yann.morin.1998@anciens.enib.fr:
Apply simpler test, after discussion with author and Arnaud LACOMBE on the ML.

2010-05-19crosstool-NG.sh: suppress failure message from uname -o
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:17:39 +0200] rev 1954
crosstool-NG.sh: suppress failure message from uname -o

On non-GNU systems (BSD/MacOS) there is no uname -o.
Suppress the failure message on these systems in the
call to set CT_SYS_OS (uname -s actually sets this variable).

yann.morin.1998@anciens.enib.fr: remove 'uname -o' altogether.

2010-05-16cc/gcc: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 19:41:53 +0200] rev 1953
cc/gcc: add latest version

Add 4.4.4 and forward-port patchset from 4.4.3

2010-05-18kernel/linux: update versions list
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 23:03:48 +0200] rev 1952
kernel/linux: update versions list

2010-05-18Merge. 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:59:08 +0200] rev 1951
Merge.

2010-05-18Revert changeset e7f7220b5ba2 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:59:00 +0200] rev 1950
Revert changeset e7f7220b5ba2

Arnaud LACOMBE rightly pointed out that this was done on the wrong branch.

2010-05-18Revert changeset d341be24dc68 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:58:49 +0200] rev 1949
Revert changeset d341be24dc68

Arnaud LACOMBE rightly pointed out that this was done on the wrong branch.

2010-05-16cc/gcc: add latest version 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 19:41:53 +0200] rev 1948
cc/gcc: add latest version

Add 4.4.4 and forward-port patchset from 4.4.3

2010-05-16kernel/linux: update versions list 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 18:56:51 +0200] rev 1947
kernel/linux: update versions list

2010-04-301.7: update version to 1.7.0+hg 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 22:26:52 +0200] rev 1946
1.7: update version to 1.7.0+hg