2010-10-09cc/gcc: add an option to enable/disable build of libssp
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Oct 2010 11:38:04 +0200] rev 2146
cc/gcc: add an option to enable/disable build of libssp

libssp is the run-time Stack-Smashing Protection library.
It can be usefull to have or miss, depends...

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

2010-10-08cc/gcc: add an option to enable/disable build of libgomp
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:58:58 +0200] rev 2145
cc/gcc: add an option to enable/disable build of libgomp

libgomp is the GNU implementation of the OpenMP API.
It can be usefull to have or miss, depends...

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

2010-10-08cc/gcc: shuffle config knobs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:53:41 +0200] rev 2144
cc/gcc: shuffle config knobs

It makes sense to have all library-related config knobs in
the same place; and it makes sense to have all other misc
config knobs in the same other place.

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

2010-10-09cc/gcc: add option to enable 128-bit long doubles
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Oct 2010 22:49:28 +0200] rev 2143
cc/gcc: add option to enable 128-bit long doubles

Needed by some PPC targets, at least.
Requires gcc 4.2+ (noticed by Arnaud LACOMBE).

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

2010-10-08cc/gcc: fix enabling/disabling LTO
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:51:38 +0200] rev 2142
cc/gcc: fix enabling/disabling LTO

There is a ./configure option for that.

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

2010-10-08cc/gcc: fix C++ headers location
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:37:12 +0200] rev 2141
cc/gcc: fix C++ headers location

In case we build the C++ compiler, we have to tell gcc where to put the C++
headers, or else it will try to # put it in prefix/tuple/include, which we
make a symlink to sysroot/usr/include during the build, and that we delete
(the symlink!) after the build, but gcc will not look in sysroot/usr/inlcude
for C++ headers by default.

Implements a fix suggested by: Bryan Hundven <bryanhundven@gmail.com>

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-07samples: update all samples to use the new build dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Oct 2010 23:53:16 +0200] rev 2140
samples: update all samples to use the new build dir

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

2010-10-07samples: update powerpc-e500v2-linux-gnuspe
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Oct 2010 23:51:23 +0200] rev 2139
samples: update powerpc-e500v2-linux-gnuspe

Update the configuration and the comment.

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-07scripts: always create lib32 and lib64 symlinks
Anthony Foiani <anthony.foiani@gmail.com> [Thu, 07 Oct 2010 22:37:06 +0200] rev 2138
scripts: always create lib32 and lib64 symlinks

Unconditionally create the lib32 -> lib/ and lib64 -> lib/ symlinks.

This is reportedly a fix to build a toolchain for a 32-bit target on
a 'pure' 64-bit host (eg. on Fedora FC12, host libs are in lib64/,
and there is no lib -> lib64 symlink, as we can see on other distors,
as Debian). As gcc only puts static host lib in lib64/ (along with
target files in subdirs), we can safely create the symlinks.

Also note that the symlinks are summarily removed at the end
of the build.

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
[Yann E. MORIN: fix a comment, rephrase the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-06scripts: fix distclean
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Oct 2010 22:54:48 +0200] rev 2137
scripts: fix distclean

Do not fail in case either one or both of target/ and
.build/ directories are missing.

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