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