2009-08-051.4: update version to 1.4.2 1.4 crosstool-ng-1.4.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 05 Aug 2009 23:55:10 +0200] rev 1457
1.4: update version to 1.4.2

2009-08-03[complib:mpfr] Fix building MPFR in some weird cases 1.4
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 00:49:25 +0200] rev 1456
[complib:mpfr] Fix building MPFR in some weird cases

The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.

In my case the source directory was named:
.../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
.../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests

Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]

So the attached patch simplify the macros and pass the path as string
from the Makefile.

Manually backported from 1449:8ad2773e7ae3

2009-08-03[configure] Fix automake version check 1.4
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 23:11:53 +0200] rev 1455
[configure] Fix automake version check

The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.

"Yann E. MORIN", added the following comment:

The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.

2009-06-23Fix creating the .../lib/ directory structure in the non-sysroot case 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:14 +0200] rev 1454
Fix creating the .../lib/ directory structure in the non-sysroot case

The symbol link that is created in the sysroot directory only needs
to be made when the cross compiler is build with the sysroot option

Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
(transplanted from 0e49e6eddac4f5bbde6394eb3e6e36be75fc550c)

2009-06-23Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains. 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:13 +0200] rev 1453
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.

In the non-sysroot-ed case, the debuf-root directory would not be set;
debug tools would have been installed God-only-knows-where...

Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
(transplanted from 634ffd14d936154464fd714ed29ed44c8e16ae02)

2009-06-17Add .hgignore file. 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Jun 2009 15:27:55 +0200] rev 1452
Add .hgignore file.

List all generated or temp files in .hgignore, so they
don't clutter the screen when running hg status.
(transplanted from befdb88324e18e1e80260906d0459a56ea0eb37a)

2009-06-11populate: fix installing dynamic linker 'ld.so' 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 11 Jun 2009 21:47:19 +0000] rev 1451
populate: fix installing dynamic linker 'ld.so'

The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.

Fix detecting src == dst.

Use a simpler command to copy src -> dst.

Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.


-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
(transplanted from d7ddcb75e0f703e2ba6d17169167356389224870)

2009-08-03[configure] Use hg, instead of svn, to compute the version string 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Aug 2009 22:47:53 +0200] rev 1450
[configure] Use hg, instead of svn, to compute the version string

Now we moved from Subversion to Mercurial, use the hg command to
compute the version string.

Manually backported from 1409:7264ce426be4 plus 1430:933eee133cbf
as too much changes have been made to ./configure in the meantime.

2009-08-03[complib:mpfr] Fix building MPFR in some weird cases
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 00:49:25 +0200] rev 1449
[complib:mpfr] Fix building MPFR in some weird cases

The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.

In my case the source directory was named:
.../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
.../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests

Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]

So the attached patch simplify the macros and pass the path as string
from the Makefile.

2009-08-03[config] Merge CONFIG_SHELL selection.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Aug 2009 08:50:56 +0200] rev 1448
[config] Merge CONFIG_SHELL selection.