2010-08-23debug/gdb: install dependable libs in a generic target static libs dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 14:32:16 +0200] rev 2100
debug/gdb: install dependable libs in a generic target static libs dir

For now, ncurses is the only dependable target library built for gdb.
But expat is coming, and there's no reason to install each library in
its own place.

So, install ncurses in a generic directory, where other dependable
libraries can be installed as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-23complibs: noone is using companion libs on the target; nuke them
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 23:18:49 +0200] rev 2099
complibs: noone is using companion libs on the target; nuke them

As there's no longer any user of the companion libraries on the
target, nuke the build for the target.

Well, at least, there's libelf that's still needed by ltrace, so
we keep it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-23debug/gdb: companion libs are not used
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 10:38:15 +0200] rev 2098
debug/gdb: companion libs are not used

Although the gdb ./configure advertises for GMP and MPFR, those libraries
are not used by gdb (the ./configure is used across different packages,
hence the check for GMP/MPFR). See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html

The same applies to MPC.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-23binutils/binutils: companion libraries are not used
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 20:21:43 +0200] rev 2097
binutils/binutils: companion libraries are not used

GNU binutils does not use the companion libraries, although
./configure advertises switches for them. This is because the
configure file is shared between different packages, and is
a bit 'lax' about what it checks. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00160.html
http://sourceware.org/ml/crossgcc/2010-08/msg00161.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-26scripts/log: do not interpret log string as printf format
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 Aug 2010 23:36:54 +0200] rev 2096
scripts/log: do not interpret log string as printf format

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-241.8: update version to 1.8.1+hg 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2095
1.8: update version to 1.8.1+hg

2010-08-24Tagging release 1.8.1 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2094
Tagging release 1.8.1

2010-08-241.8: update version to 1.8.1 1.8 crosstool-ng-1.8.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2093
1.8: update version to 1.8.1

2010-08-11scripts: in case of failed download, remove partial files 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 20:07:18 +0200] rev 2092
scripts: in case of failed download, remove partial files

It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.

Remove partial downloads, to fail early.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from eefacabd9e72f3d578e5dc5908026ed780f9a240)

2010-08-23docs: review REaDME
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 23:24:16 +0200] rev 2091
docs: review REaDME

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-21libc/glibc: repair debugging with gdb (glibc 2.9)
Titus von Boxberg <titus@v9g.de> [Sat, 21 Aug 2010 16:46:24 +0200] rev 2090
libc/glibc: repair debugging with gdb (glibc 2.9)

Without this patch, crosstool-ng-built glibc-2.9 prevents
debugging any exeutable with gdb.
gdb says:
[Thread debugging using libthread_db enabled]
find_new_threads_callback: cannot get thread info: generic error
See also https://bugzilla.redhat.com/show_bug.cgi?id=487212
for a discussion of the bug and the solution.

2010-08-21internals: call strip in a portable way
Titus von Boxberg <titus@v9g.de> [Sat, 21 Aug 2010 16:45:50 +0200] rev 2089
internals: call strip in a portable way

strip on CT_HOST darwin does not want --strip-all or -v

2010-08-17binutils/binutils: forward-port the patchset from 2.20 to 2.20.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Aug 2010 19:48:49 +0200] rev 2088
binutils/binutils: forward-port the patchset from 2.20 to 2.20.1

Among other things, this should fix the issue reported by Thomas at:
http://sourceware.org/ml/crossgcc/2010-08/msg00115.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-17libc/mingw: fix space-damage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Aug 2010 23:50:03 +0200] rev 2087
libc/mingw: fix space-damage

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-15mingw32: enable sysrooted toolchains
Esben Haabendal <eha@doredevelopment.dk> [Sun, 15 Aug 2010 00:00:51 +0200] rev 2086
mingw32: enable sysrooted toolchains

When targeting mingw32, gcc expects to find its include files
in "mingw/include" instead of the traditional "usr/include".

[Yann E. MORIN: split the original patch]

2010-08-14libc/mingw: use pre-set headers dir
Esben Haabendal <eha@doredevelopment.dk> [Sat, 14 Aug 2010 23:21:06 +0200] rev 2085
libc/mingw: use pre-set headers dir

There is a variable that contains the headers directory,
so there's no need to re-compute it again.

[Yann E. MORIN: split the original patch]

2010-08-14kernel/mingw32: use pre-set headers dir
Esben Haabendal <eha@doredevelopment.dk> [Sat, 14 Aug 2010 23:14:27 +0200] rev 2084
kernel/mingw32: use pre-set headers dir

There is a variable that contains the headers directory,
so there's no need to re-compute it again.

[Yann E. MORIN: split the original patch]

2010-08-11binutils/sstrip: mark as obsolete
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 21:39:04 +0200] rev 2083
binutils/sstrip: mark as obsolete

sstrip is causing more trouble and grief than tolerable.
It is broken at least on PPC. It does not build on non-ELF
systems (eg. mingw32, MacOS-X...). Plus, it is easy to
install.

Hide it behind OBSOLETE.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-11libc/uClibc: fix downloading pregen locales 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 20:05:05 +0200] rev 2082
libc/uClibc: fix downloading pregen locales

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 223aaf040327e204f0801549e9c0cf6225bdf29d)

2010-08-11libc/uClibc: fix downloading pregen locales
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 20:05:05 +0200] rev 2081
libc/uClibc: fix downloading pregen locales

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-11scripts: in case of failed download, remove partial files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 20:07:18 +0200] rev 2080
scripts: in case of failed download, remove partial files

It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.

Remove partial downloads, to fail early.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-11scripts: when downloading, use aria2 only when //
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 19:13:10 +0200] rev 2079
scripts: when downloading, use aria2 only when //

Even when // downloads are not enabled, aria2 can
fail on some servers (eg. uclibc.org).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-11scripts: do not download in // by default
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 19:10:45 +0200] rev 2078
scripts: do not download in // by default

Parallel downloads can be a bit harsh on the servers,
and some will fail (eg. uclibc.org) in some cases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-14docs: move the Mercurial tutorial to the tutorials section
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 14 Aug 2010 20:26:23 +0200] rev 2077
docs: move the Mercurial tutorial to the tutorials section

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-14docs: split into multiple files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 14 Aug 2010 16:37:11 +0200] rev 2076
docs: split into multiple files

The overview.txt file has evolved into more than just an overview.
Split it into chapters, and include the misc tutorials.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-10scripts: better sanitise the patch names
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 10 Aug 2010 13:25:52 +0200] rev 2075
scripts: better sanitise the patch names

When generating the fixes-patches, better sanitise the generated
file names, as it seems to raise a few issues for some people.

2010-08-06complibs/cloog: with static ppl, correctly link with libm 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 06 Aug 2010 00:00:26 +0200] rev 2074
complibs/cloog: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 5526fb72a893f89286d6daa29da0161ca988a1d0)

2010-08-05cc/gcc: with static ppl, correctly link with libm 1.8
Darcy Watkins <dwatkins@tranzeo.com> [Thu, 05 Aug 2010 18:19:07 +0200] rev 2073
cc/gcc: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
(transplanted from bcd33fce4db9c18223b59ecdc96f10bf6dd574de)

2010-08-06complibs/ppl: add latest version 0.11
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 06 Aug 2010 22:42:55 +0200] rev 2072
complibs/ppl: add latest version 0.11

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-06complibs/cloog: with static ppl, correctly link with libm
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 06 Aug 2010 00:00:26 +0200] rev 2071
complibs/cloog: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-05cc/gcc: with static ppl, correctly link with libm
Darcy Watkins <dwatkins@tranzeo.com> [Thu, 05 Aug 2010 18:19:07 +0200] rev 2070
cc/gcc: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.

2010-08-05complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0
Arnaud Lacombe <lacombar@gmail.com> [Thu, 05 Aug 2010 17:59:51 +0200] rev 2069
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-08-05libc/glibc: let glibc 3.3.6 link correctly
Arnaud Lacombe <lacombar@gmail.com> [Thu, 05 Aug 2010 17:59:50 +0200] rev 2068
libc/glibc: let glibc 3.3.6 link correctly

From http://sourceware.org/git/?p=glibc.git;a=commit;f=elf/Makefile;h=7c8a67320e26b8c11108bf0a3410d3aef9cf3486

Author: Ulrich Drepper <drepper@redhat.com>:
Commit log:
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
newer linker scripts.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-08-05complibs/ppl: fix PPL build with GMP 5.x.x
Arnaud Lacombe <lacombar@gmail.com> [Thu, 05 Aug 2010 17:59:49 +0200] rev 2067
complibs/ppl: fix PPL build with GMP 5.x.x

From http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9c19bc2b318a35016e0189f9552c98910be37f53

Author: Roberto Bagnara <bagnara@cs.unipr.it>
Revision log: Added support for GMP 5.0.

Adapted manually to match and not having to re-generate the configure script.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-08-061.7: close branch 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 06 Aug 2010 23:45:35 +0200] rev 2066
1.7: close branch

2010-08-061.6: close branch 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 06 Aug 2010 23:45:18 +0200] rev 2065
1.6: close branch

2010-08-03libc/uClibc: add uClibc 0.9.30.3
Arnaud Lacombe <lacombar@gmail.com> [Tue, 03 Aug 2010 06:17:51 +0200] rev 2064
libc/uClibc: add uClibc 0.9.30.3

This version has been released a couple of month ago, but it never reached
crosstool-ng tree. This may be linked to the fact that the current 0.9.30.2,
once patched, has nothing much different from 0.9.30.3, released.

I'm not including any patch with this upgrade, on purpose.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-08-02kernel/linux: : nuke old 2.6.33.[0-6]
Arnaud Lacombe <lacombar@gmail.com> [Mon, 02 Aug 2010 21:06:13 +0200] rev 2063
kernel/linux: : nuke old 2.6.33.[0-6]

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-08-02kernel/linux: 2.6.32.17, 2.6.33.7, 2.6.34.2 and 2.6.35 are out !
Arnaud Lacombe <lacombar@gmail.com> [Mon, 02 Aug 2010 21:38:32 +0200] rev 2062
kernel/linux: 2.6.32.17, 2.6.33.7, 2.6.34.2 and 2.6.35 are out !

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
[Yann E. MORIN: also add latest 2.6.27.49]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-08-01cc/gcc: 4.5.1 is out!
Arnaud Lacombe <lacombar@gmail.com> [Sun, 01 Aug 2010 03:56:43 +0200] rev 2061
cc/gcc: 4.5.1 is out!

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-05-27scripts: add option to strip all toolchain executables
Remy Bohmer <linux@bohmer.net> [Thu, 27 May 2010 23:18:19 +0200] rev 2060
scripts: add option to strip all toolchain executables

To reduce filesizes of the toolchain and even improve build times
of projects to be build with this toolchain it is usefull to strip
the delivered toolchain executables. Since it is not likely that we
will debug the toolchain executables itself we do not need the
debug information inside the executables itself.

Signed-off-by: Remy Bohmer <linux@bohmer.net>

2010-08-011.8: update version to 1.8.0+hg 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Aug 2010 14:23:08 +0200] rev 2059
1.8: update version to 1.8.0+hg

2010-08-01Tagging release 1.8.0 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Aug 2010 14:23:08 +0200] rev 2058
Tagging release 1.8.0

2010-08-011.8: create maintenance branch, update version to 1.8.0 1.8 crosstool-ng-1.8.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Aug 2010 14:23:08 +0200] rev 2057
1.8: create maintenance branch, update version to 1.8.0

2010-08-01docs: update known-issues
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Aug 2010 13:39:10 +0200] rev 2056
docs: update known-issues

2010-08-01samples: update all samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Aug 2010 14:21:13 +0200] rev 2055
samples: update all samples

All samples get rebased, no new option is chosen.

2010-07-30cc/gcc: do not show sjlj choice for bare-metal
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 23:41:19 +0200] rev 2054
cc/gcc: do not show sjlj choice for bare-metal

In the conversion from choic to tristate, this got lost.

2010-07-30samples: add a short list of all samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 23:30:02 +0200] rev 2053
samples: add a short list of all samples

Add an action to list only the sample names.
Use that for auto-completion.

2010-07-30libc: do not offer cross-ldd for bare-metal
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 22:50:32 +0200] rev 2052
libc: do not offer cross-ldd for bare-metal

2010-07-30Fix CT_SanitizePath
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 17:50:34 +0200] rev 2051
Fix CT_SanitizePath

Replace the over-engineered and buggy test in CT_SanitizePath
with a straight forward string pattern match, and also
handle empty PATH elements which are qeuivalent to ".".

Thanks-To: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Johannes Stezenbach <js@sig21.net>

2010-07-301.7: update version to 1.7.2+hg 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 00:18:03 +0200] rev 2050
1.7: update version to 1.7.2+hg

2010-07-30Tagging release 1.7.2 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 00:18:02 +0200] rev 2049
Tagging release 1.7.2

2010-07-301.7: update version to 1.7.2 1.7 crosstool-ng-1.7.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Jul 2010 00:18:02 +0200] rev 2048
1.7: update version to 1.7.2

2010-07-29scripts: remove . from $PATH 1.7
Johannes Stezenbach <js@sig21.net> [Thu, 29 Jul 2010 19:30:37 +0200] rev 2047
scripts: remove . from $PATH

Add CT_SanitizePath function which removes entries referring to ., /tmp
and non-existing directories from $PATH, and call it early in the
build script.

If . is in PATH, gcc-4.4.4 build breaks:

[ALL ] checking what assembler to use...
/tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL ] config.status: creating as

i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 20dd8cef1c8adff0aa3e78ae6d7acfbc45ed5a83)

2010-07-19complibs: fix using static companion libraries 1.7
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Mon, 19 Jul 2010 23:16:02 +0200] rev 2046
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
(transplanted from 3917f2dafed1bb189e39f50e8506b3141926d7e1)

2010-07-29cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newer
Johannes Stezenbach <js@sig21.net> [Thu, 29 Jul 2010 19:47:16 +0200] rev 2045
cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newer

Idea and know-how taken from CodeSourcery build script.

Normal build:
$ ldd arm-unknown-linux-uclibcgnueabi-gcc
linux-gate.so.1 => (0xb77f3000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e8000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75a1000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb757a000)
/lib/ld-linux.so.2 (0xb77f4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb755c000)

CC_STATIC_LIBSTDCXX=y:
$ ldd arm-unknown-linux-uclibcgnueabi-gcc
linux-gate.so.1 => (0xb7843000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76e6000)
/lib/ld-linux.so.2 (0xb7844000)

I made CC_STATIC_LIBSTDCXX default=y since I think
it is always desirable.

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2010-07-29scripts: remove . from $PATH
Johannes Stezenbach <js@sig21.net> [Thu, 29 Jul 2010 19:30:37 +0200] rev 2044
scripts: remove . from $PATH

Add CT_SanitizePath function which removes entries referring to ., /tmp
and non-existing directories from $PATH, and call it early in the
build script.

If . is in PATH, gcc-4.4.4 build breaks:

[ALL ] checking what assembler to use...
/tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL ] config.status: creating as

i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-07-28cc/gcc: add option to enable/disable libmudflap
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 23:55:10 +0200] rev 2043
cc/gcc: add option to enable/disable libmudflap

For some scenarii, libmudflap is not very usefull
or can break the build. Make in an optioon that
defaults to 'N' to be on the safe side.

For the core gcc-s, there is absolutely no need
to build libmidflap.

Idea from: Bernhard Pfund <bernhard@chapter7.ch>

2010-07-28cc/gcc: make sjlj config option a tristate
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 23:53:09 +0200] rev 2042
cc/gcc: make sjlj config option a tristate

A tristate fits better here than a choice.

2010-07-28cc/gcc: move options around
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 21:28:54 +0200] rev 2041
cc/gcc: move options around

2010-07-28config: allow unconditional usage of tristates
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 21:32:42 +0200] rev 2040
config: allow unconditional usage of tristates

2010-07-26libc-uclibc: move options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Jul 2010 00:07:17 +0200] rev 2039
libc-uclibc: move options

2010-07-28libc/uClibc: fix space damage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 01:39:52 +0200] rev 2038
libc/uClibc: fix space damage

2010-07-28libc/uClibc: fix using pre-generated locale data
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 01:38:15 +0200] rev 2037
libc/uClibc: fix using pre-generated locale data

Some time, someone updated the locale Makefile to use
newer pre-generated locales data, but did not upload
those.

So we just force using the existing, ageing archive,
dating back 20030818. Sigh...

2010-07-28libc/uClibc: do not systematically use pre-generated locale data
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Jul 2010 01:03:07 +0200] rev 2036
libc/uClibc: do not systematically use pre-generated locale data

It seems that using pre-generated locale data can be more problematic
than usefull in some circumstances.

Offer a config knob to enable/disable use of the pregen locale data.
Also, do not extract pregen locales data ourselves, it's broken.

2010-07-15configure: fix --mandir 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Jul 2010 22:34:31 +0200] rev 2035
configure: fix --mandir

--mandir points to the base dir of the man pages, so
we have to append our man section below given dir.
(transplanted from a8a4d5c9773893fa6978e5f9e1445d1e8185c24a)

2010-07-22scripts: add a cross-ldd-like
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Jul 2010 23:26:08 +0200] rev 2034
scripts: add a cross-ldd-like

Add a cross-ldd that mimicks a native ldd.

2010-07-22libc/uClibc: do not install cross-ldd
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Jul 2010 20:06:27 +0200] rev 2033
libc/uClibc: do not install cross-ldd

I was unable to make the cross-ldd from uClibc to work, and
it is not possible to build it on non-POSIX system.

Besides, we have a generic script that is in the starting-blocks
to replace it, that will work for any C library, and also will
work on non-POSIX systems. Bonus!

2010-07-22docs/known-issues: document the "error compiling FC test program" issue
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Jul 2010 23:33:17 +0200] rev 2032
docs/known-issues: document the "error compiling FC test program" issue

2010-07-19complibs: fix using static companion libraries
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Mon, 19 Jul 2010 23:16:02 +0200] rev 2031
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

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

2010-07-13libc/uClibc: fix verbosity level for uClibc >= 0.9.30
Johannes Stezenbach <js@sig21.net> [Tue, 13 Jul 2010 12:12:32 +0200] rev 2030
libc/uClibc: fix verbosity level for uClibc >= 0.9.30

uClibc >= 0.9.30 supports three verbosity levels, according to "make help":

V="" - Quiet build (default)
V=1 - Brief build (show defines, ld flags)
V=2 - Very verbose build

I think older versions of uClibc treat V=2 the same as V=1.
For current uClibc, only V=2 shows the full command lines.

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2010-07-18scripts/functions: recognise Cygwin build hosts
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 18 Jul 2010 00:34:38 +0200] rev 2029
scripts/functions: recognise Cygwin build hosts

2010-07-17scripts: use 'hg archive' to create release tarballs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 17 Jul 2010 11:31:57 +0200] rev 2028
scripts: use 'hg archive' to create release tarballs

2010-07-15kernel/mingw32: mark as being EXPERIMENTAL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Jul 2010 09:51:55 +0200] rev 2027
kernel/mingw32: mark as being EXPERIMENTAL

2010-07-15configure: fix --mandir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Jul 2010 22:34:31 +0200] rev 2026
configure: fix --mandir

--mandir points to the base dir of the man pages, so
we have to append our man section below given dir.

2010-07-15scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Jul 2010 10:18:40 +0200] rev 2025
scripts: update config.{guess,sub}

2010-07-14Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 14 Jul 2010 19:11:40 +0200] rev 2024
Merge.

2010-07-14complibs/ppl: backout #9f0de857cb05
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 14 Jul 2010 19:11:12 +0200] rev 2023
complibs/ppl: backout #9f0de857cb05

The patch breaks the build on most machines,
while the purpose of the patch is dubious.
So, simply back it out.

2010-07-11debug/gdb: properly remove build tic
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Jul 2010 22:26:29 +0200] rev 2022
debug/gdb: properly remove build tic

tic is isntalled in buildtools, not in the toolchain's bin dir.
Plus, it may have an extension...

2010-07-11debug/gdb: Fix compilation for Mingw hosts
Remy Bohmer <linux@bohmer.net> [Sun, 11 Jul 2010 22:23:34 +0200] rev 2021
debug/gdb: Fix compilation for Mingw hosts

GDB requires PDcurses instead of ncurses while running on Windows.
So, do not always compile ncurses in case GDB needs to build.

PDcurses is provided by an earlier build step and is not described in
this file.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciense.nib.fr: we already have a way to detect ncurses usage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-07-11complibs/ppl: fix build for MINGW
Bart vdr Meulen <bartvdrmeulen@gmail.com> [Sun, 11 Jul 2010 21:37:43 +0200] rev 2020
complibs/ppl: fix build for MINGW

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
patches/ppl/0.10.2/100-update-for-mingw-build.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 patches/ppl/0.10.2/100-update-for-mingw-build.patch

2010-07-11samples: add Linux -> Mingw32 sample
Bart vdr Meulen <bartvdrmeulen@gmail.com> [Sun, 11 Jul 2010 21:37:29 +0200] rev 2019
samples: add Linux -> Mingw32 sample

Sample to build compiler targetting mingw32 target systems

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
samples/i686-pc-mingw32/crosstool.config | 302 +++++++++++++++++++++++++++++++
samples/i686-pc-mingw32/reported.by | 3
2 files changed, 305 insertions(+)
create mode 100644 samples/i686-pc-mingw32/crosstool.config
create mode 100644 samples/i686-pc-mingw32/reported.by

2010-07-11kernel/mingw: add target libraries
Bart vdr Meulen <bartvdrmeulen@gmail.com> [Sun, 11 Jul 2010 21:36:55 +0200] rev 2018
kernel/mingw: add target libraries

Add several development libraries to the build of the mingw cross-compiler
to be used on target

Libraries:
PDCurses (port of the ncurses library)
GnuRX (the regex library)
DirectX
OpenGL

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: don't show DX and RX versions if disabled]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-07-11kernel: add mingw
Bart vdr Meulen <bartvdrmeulen@gmail.com> [Sun, 11 Jul 2010 21:36:20 +0200] rev 2017
kernel: add mingw

Add the option to build a cross-compiler for kernel type 'mingw'.
The resulting cross-compiler can be used to build applications on a Linux host
that can be run on a Windows target.

Compiler is build using the mingwrt and w32-api packages aviable from the
MinGW project (http://sourceforge.net/projects/mingw).

The windows headers (w32-api package) are extracting with the kernel_headers
step The libraries and other headers from both packages are build and
installed in the various steps of libc

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-07-11libc: add global threads support option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Jul 2010 14:26:52 +0200] rev 2016
libc: add global threads support option

2010-07-11samples: add an ARMeb uClibc/NPTL experimental sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Jul 2010 00:20:13 +0200] rev 2015
samples: add an ARMeb uClibc/NPTL experimental sample

2010-07-10cc/gcc: gcc-4.4 does not use MPC
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Jul 2010 15:25:10 +0200] rev 2014
cc/gcc: gcc-4.4 does not use MPC

As reported by Johannes Stezenbach, see thread at:
http://sourceware.org/ml/crossgcc/2010-07/msg00017.html

2010-07-10config: no need to push the download mirror in a sub menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Jul 2010 14:20:16 +0200] rev 2013
config: no need to push the download mirror in a sub menu

2010-07-09binutils/binutils: add binutils-2.20.1
Johannes Stezenbach <js@sig21.net> [Fri, 09 Jul 2010 15:53:49 +0200] rev 2012
binutils/binutils: add binutils-2.20.1

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2010-07-09kernel/linux: update linux stable releases
Johannes Stezenbach <js@sig21.net> [Fri, 09 Jul 2010 15:51:59 +0200] rev 2011
kernel/linux: update linux stable releases

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2010-07-03libc/uClibc: fix snapshots 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jul 2010 00:17:54 +0200] rev 2010
libc/uClibc: fix snapshots

Snapshots are in a subdir named uClibc, not uClibc-snapshot
(or uClibc-YYYYMMDD either).
(transplanted from b13d0db6fa95795bb663bf674372b58221682dd6)

2010-07-03libc/uClibc: enable NPTL for snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jul 2010 01:15:28 +0200] rev 2009
libc/uClibc: enable NPTL for snapshots

Recently, NPTL has matured a lot in uClibc, and more and more
people are interested to at least give it a try. So enable it.

2010-07-03libc/uClibc: fix snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jul 2010 00:17:54 +0200] rev 2008
libc/uClibc: fix snapshots

Snapshots are in a subdir named uClibc, not uClibc-snapshot
(or uClibc-YYYYMMDD either).

2010-07-02libc/uClibc: fix munging .config for LT old/new
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Jul 2010 22:11:45 +0200] rev 2007
libc/uClibc: fix munging .config for LT old/new

2010-07-03debug/ltrace: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jul 2010 14:51:02 +0200] rev 2006
debug/ltrace: add latest version

2010-07-07scripts/finish: do not try to symlink if sed expr is a no-op 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 07 Jul 2010 22:33:49 +0200] rev 2005
scripts/finish: do not try to symlink if sed expr is a no-op

If the sed expression does not transform the
tuple, do not try to create the symlink.
(transplanted from 5d6d3c28a658a65551d4eb5de414fd97b575f314)

2010-07-07scripts/finish: do not try to symlink if sed expr is a no-op
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 07 Jul 2010 22:33:49 +0200] rev 2004
scripts/finish: do not try to symlink if sed expr is a no-op

If the sed expression does not transform the
tuple, do not try to create the symlink.

2010-07-01debug/gdb: fix incorrect path
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Jul 2010 01:17:01 +0200] rev 2003
debug/gdb: fix incorrect path

Fix discrepancy between the directory we create,
and the directory into which we install tic.

2010-07-01libc/glibc: fix installed scripts
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Jul 2010 00:24:04 +0200] rev 2002
libc/glibc: fix installed scripts

glibc installs some bash-scripts, but uses the path to the buildtool
bash as interpreter (on the shebang line). This is only a symlink to
the real bash, and thus is not available at runtime.

Fix that by assuming that bash on the target *will* be /bin/bash.

2010-06-271.7: update version to 1.7.1+hg 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Jun 2010 18:38:12 +0200] rev 2001
1.7: update version to 1.7.1+hg

2010-06-27Tagging release 1.7.1 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Jun 2010 18:38:12 +0200] rev 2000
Tagging release 1.7.1

2010-06-271.7: update version to 1.7.1 1.7 crosstool-ng-1.7.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Jun 2010 18:38:12 +0200] rev 1999
1.7: update version to 1.7.1

2010-06-22scripts/wrapper: fix wrong test when checking access to the reall tool 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Jun 2010 23:49:23 +0200] rev 1998
scripts/wrapper: fix wrong test when checking access to the reall tool

In C, the proper syntax for a bit-wise OR is a single '|', not two.

It worked so far because all was well:
- X_OK == 1
- R_OK||X_OK == 1
- the file we searched for had the x-bit set
-> access( file, R_OK||X_OK ) worked
- inicidentally, the file we searched for also had the r-bit set,
but we were not testing that in fact.
(transplanted from eebcaff6626f09af4f69b7b06f1246a06769d0af)

2010-06-16complibs/gmp: 5.0.0 misses 'EXPERIMENTAL' in the prompt 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 16 Jun 2010 18:57:10 +0200] rev 1997
complibs/gmp: 5.0.0 misses 'EXPERIMENTAL' in the prompt
(transplanted from 95b4a458fd60d3e0911750c2b7c1b6cf36285845)

2010-06-13cc/gcc: fix headers copy for core static 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Jun 2010 20:25:00 +0200] rev 1996
cc/gcc: fix headers copy for core static
(transplanted from 22ce0c19f06a530d72fd65c89d0777d16c0a97ac)

2010-05-19crosstool-NG.sh: suppress failure message from uname -o 1.7
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:17:39 +0200] rev 1995
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.
(transplanted from acae437fddccd7681c93a3b6c999c0796693d625)

2010-06-27scripts: enhance Makefile for installation
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Jun 2010 16:40:21 +0200] rev 1994
scripts: enhance Makefile for installation

Split the multiple directory copies into autonomous rules.
Fix the autocompletion message.

2010-06-25test-suite: correctly install when not --local
"Andy Gibbs" <andyg1001@hotmail.co.uk> [Fri, 25 Jun 2010 12:33:30 +0200] rev 1993
test-suite: correctly install when not --local

2010-06-22scripts/wrapper: fix wrong test when checking access to the reall tool
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Jun 2010 23:49:23 +0200] rev 1992
scripts/wrapper: fix wrong test when checking access to the reall tool

In C, the proper syntax for a bit-wise OR is a single '|', not two.

It worked so far because all was well:
- X_OK == 1
- R_OK||X_OK == 1
- the file we searched for had the x-bit set
-> access( file, R_OK||X_OK ) worked
- inicidentally, the file we searched for also had the r-bit set,
but we were not testing that in fact.

2010-06-17cc/gcc: add option do disable PCH
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Jun 2010 21:26:23 +0200] rev 1991
cc/gcc: add option do disable PCH

In some cases, using Pre-Compiled Headers breaks the build.
Ass an option to disable building the PCH, as suggested by:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

2010-06-17kernel/linux: allow headers from full custom source tree
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Jun 2010 18:30:09 +0200] rev 1990
kernel/linux: allow headers from full custom source tree

Accept a local tarball name as the source of the Linux kernel headers,
rather than forcing the user to use either an upstream tarball, or a
local pre-installed headers tree.

2010-06-15kernel/linux: reorder upstream/custom-tree handling
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 15 Jun 2010 20:04:01 +0200] rev 1989
kernel/linux: reorder upstream/custom-tree handling

2010-05-22docs/README.freebsd.txt: Short intro for FreeBSD
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 14:11:27 +0200] rev 1988
docs/README.freebsd.txt: Short intro for FreeBSD

Provide short README for FreeBSD as a host OS for ct-ng.

2010-05-30docs/README.macos.txt: Provide hints section
Titus von Boxberg <titus@v9g.de> [Sun, 30 May 2010 12:11:39 +0200] rev 1987
docs/README.macos.txt: Provide hints section

Hints for building tool chains.

2010-05-29patches/gdb: Fix canadian building of GDB for powerpc
Martin Lund <mgl@doredevelopment.dk> [Sat, 29 May 2010 15:08:11 +0200] rev 1986
patches/gdb: Fix canadian building of GDB for powerpc

Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian
cross building of GDB for powerpc.

See original patch information here:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638

The patch is not required for GDB v7.1 (fixed).

Tested in canadian combination using mingw32 and powerpc toolchains.
Tested to not affect normal cross building of GDB for powerpc target.

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

2010-06-16complibs/mpc: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 16 Jun 2010 18:55:20 +0200] rev 1985
complibs/mpc: add latest version

2010-06-16complibs/gmp: 5.0.0 misses 'EXPERIMENTAL' in the prompt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 16 Jun 2010 18:57:10 +0200] rev 1984
complibs/gmp: 5.0.0 misses 'EXPERIMENTAL' in the prompt

2010-06-13cc/gcc: baremetal requires a two-pass process
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Jun 2010 23:38:37 +0200] rev 1983
cc/gcc: baremetal requires a two-pass process

Here, we implement a highly ugly hack. I'm not proud of that one...

To build the libstdc++ library, the compiler requires the C library. In
case we build for non-baremetal, this is normally handled by the final
step, later.

But in the case of bare-metal, we never go through the final step (because
it does not work, and it seems complex enough to make it work), so the
baremetal compilers are issued out of the core step.

2010-06-13libc/newlib: build in the 'start files' pass
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Jun 2010 23:45:29 +0200] rev 1982
libc/newlib: build in the 'start files' pass

A few facts:
- building the C library requires a proper core compiler
- core compiler is issued from one of the core passes
- the C library is required to build libstdc++
- newlib is only built for baremetal
- in bare metal, the final compiler is issued from one of the core passes

So we need to build the C library between core pass 1 and core pass 2.
The only place is eithe libc_headers() or libc_start_files(). The most
pertinent seems to be libc_start_files().

So we build newlib from libc_start_files(), and leave libc() empty.

2010-06-13cc/gcc: store core build rules in an array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Jun 2010 20:43:02 +0200] rev 1981
cc/gcc: store core build rules in an array

Using an array makes it easier to add new rules.
Besides, it is easy to expand from build rules to install rules