2009-10-27kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 18:49:15 +0100] rev 1610
kernel/linux: add latest versions

2009-10-27binutils: remove duplicate config entries for binutils & elf2flt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 20:09:54 +0100] rev 1609
binutils: remove duplicate config entries for binutils & elf2flt

2009-10-27scripts: add sed expression to apply when renumbering patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 19:34:13 +0100] rev 1608
scripts: add sed expression to apply when renumbering patches

Some patchsets have superfluous members in their names (eg. the ones coming
from Gentoo), so it can come in handy to pass a sed RE to strip them out of
the final patch name.
Also add a 'fake' mode, where the command will only be printed and not
executed, so we can check beforehand if the rename will be OK.

2009-10-27scripts: fis addToolVersion wrt binutils
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 18:54:29 +0100] rev 1607
scripts: fis addToolVersion wrt binutils

binutils' config file has moved; update the addToolVerion script accordingly.

2009-10-21kernel/linux: remove the version prompt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 00:06:22 +0200] rev 1606
kernel/linux: remove the version prompt

2009-10-28debug/gdb: remove old versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 18:59:09 +0100] rev 1605
debug/gdb: remove old versions

2009-10-27config/binutils: remove obsolete experimental versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 20:06:07 +0100] rev 1604
config/binutils: remove obsolete experimental versions

2009-10-28config: rip-out versions marked as OBSOLETE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 18:55:40 +0100] rev 1603
config: rip-out versions marked as OBSOLETE

2009-10-28libc/uClibc: fix building on system with recent glibc
Zoltan Devai <zdevai@gmail.com> [Wed, 28 Oct 2009 12:03:38 +0100] rev 1602
libc/uClibc: fix building on system with recent glibc

While trying to build a toolchain with ct-ng 1.5.0,
arm-unknown-linux-uclibcgnueabi target,
I get the following error:

[INFO ] Installing C library headers
[EXTRA] Copying sources to build dir
[EXTRA] Applying configuration
[EXTRA] Building headers
[EXTRA] Installing headers
[ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR] make[2]: *** [extra/scripts/unifdef] Error 1
[ERROR] Build failed in step 'Installing C library headers'

The following patch solves the problem.
(It's a backport of this uClibc commit:
http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
)

[--SNIP from another mail--]
AFAIK this is a problem since glibc 2.10.

2009-10-281.5: update to 1.5.0+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:40:13 +0100] rev 1601
1.5: update to 1.5.0+hg

2009-10-28Tagging release 1.5.1 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:39:13 +0100] rev 1600
Tagging release 1.5.1

2009-10-281.5: update version to 1.5.1 1.5 crosstool-ng-1.5.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:36:52 +0100] rev 1599
1.5: update version to 1.5.1

2009-10-26arch/arm: add sample for nommu bare-metal Cortex-M3 with newlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:12:29 +0100] rev 1598
arch/arm: add sample for nommu bare-metal Cortex-M3 with newlib

2009-10-26arch/arm: add THUMB interworking support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:11:10 +0100] rev 1597
arch/arm: add THUMB interworking support

Add config option to build wtarget code with THUMB interworking.
This is used to build the C library as well as all other code
that runs on the target.

2009-10-26arch/arm: add THUMB mode config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 09:10:38 +0100] rev 1596
arch/arm: add THUMB mode config option

2009-10-21arch/arm: no need to check for the ABI option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 23:20:30 +0200] rev 1595
arch/arm: no need to check for the ABI option

The ABI option can not be set if EABI was selected,
so no need to check for it.

2009-10-21arch/arm: add support for noMMU
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:22:05 +0200] rev 1594
arch/arm: add support for noMMU

Some ARM cores do not have an MMU (eg. Cortex-Mx and Cortex-Rx series).
Thus, allow the user to configure out the MMU for ARM.

2009-10-26libc/newlib: allow using CVS snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 22:00:30 +0100] rev 1593
libc/newlib: allow using CVS snapshots

The newlib "team" rolls new releases about once a year (december).
This is quite a long time between releases, in case code was fixed.
So, allow user to use a CVS snapshot to benefit early from fixes
and enhancements to newlib.

2009-10-26functions: allow using sub-dir of a module
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 19:49:50 +0100] rev 1592
functions: allow using sub-dir of a module

Some projects' module (eg. newlib) are checked-out into a sudirectory
rather than into their own directory. Handle this case in the CT_GetCVS
function.

2009-10-21libc/newlib: allow using newlib with archs other than avr32
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 22:51:39 +0200] rev 1591
libc/newlib: allow using newlib with archs other than avr32

2009-10-26libc/newlib: fix namespace in config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 18:47:11 +0100] rev 1590
libc/newlib: fix namespace in config file

C library config options should be prefixed with 'LIBC_'.

2009-10-26libc/newlib: cleanup the build and finish steps
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:20:33 +0100] rev 1589
libc/newlib: cleanup the build and finish steps

build step:
- ./configure
- remove glibc-specific options
- pass the target CFLAGS in the correct variable
- make:
- build in //

finish step:
- print proper message in finish step

2009-10-25libc/newlib: fix host/target confusion
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Oct 2009 23:35:55 +0100] rev 1588
libc/newlib: fix host/target confusion

newlib handles the build/host/target a bit differently as one would expect:
build : not used
host : the nachine that builds newlib
target : the machine on which newlib will run

2009-10-21debug/dmalloc: fix handling of threading model
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:47:16 +0200] rev 1587
debug/dmalloc: fix handling of threading model

2009-10-21config: add help for the MMU/noMMU entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 23:45:55 +0200] rev 1586
config: add help for the MMU/noMMU entry

2009-10-21config/libc: move around hidden config options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 19:08:31 +0200] rev 1585
config/libc: move around hidden config options

This yields a cleaner .config file that is easier to read.

2009-10-23scripts/functions: Fix a variable name. 1.5
fr.frasc@gmail.com [Fri, 23 Oct 2009 09:48:22 -0700] rev 1584
scripts/functions: Fix a variable name.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
(transplanted from 991a59088ff09528896ac64ed4e8a6fba31eae39)

2009-10-23scripts/functions: Fix a variable name.
fr.frasc@gmail.com [Fri, 23 Oct 2009 09:48:22 -0700] rev 1583
scripts/functions: Fix a variable name.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>

2009-10-21config/arch/arm: default to EABI
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:08:31 +0200] rev 1582
config/arch/arm: default to EABI

2009-10-12docs: adding naming conventions for crosstool-NG
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:31:50 +0200] rev 1581
docs: adding naming conventions for crosstool-NG

2009-10-12docs: fix chapter spacing
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:25:41 +0200] rev 1580
docs: fix chapter spacing

2009-10-12version: update to 1.5.0+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:19:54 +0200] rev 1579
version: update to 1.5.0+hg

2009-10-10Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 17:24:36 +0200] rev 1578
Merge.

2009-10-10scripts: replace calls to svn with calls to hg in script to renumber patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 17:19:51 +0200] rev 1577
scripts: replace calls to svn with calls to hg in script to renumber patches

2009-10-10docs: get rid of any reference to the now long-gone svn repository
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 13:12:28 +0200] rev 1576
docs: get rid of any reference to the now long-gone svn repository

2009-10-10docs: move the "contributing" section to overview.txt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 12:55:17 +0200] rev 1575
docs: move the "contributing" section to overview.txt

2009-10-10docs: configure no longer accepts --with-contrib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 11:24:31 +0200] rev 1574
docs: configure no longer accepts --with-contrib

It's been a while that configure does not recognise --with-contrib.
Applying contibutions is to be done manually, using patch.

2009-10-10configure: force using the C locale to check messages 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:44:12 +0200] rev 1573
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)

2009-10-10configure: fix --with-foo=/path/to/foo 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:41:12 +0200] rev 1572
configure: fix --with-foo=/path/to/foo

When a required tool is specified with --with-foo, store the variable
in the list.
(transplanted from 1d43b65599a4b869d83d4db67b9715b1298d74f7)

2009-10-10configure: force using the C locale to check messages
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:44:12 +0200] rev 1571
configure: force using the C locale to check messages

2009-10-10configure: fix --with-foo=/path/to/foo
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:41:12 +0200] rev 1570
configure: fix --with-foo=/path/to/foo

When a required tool is specified with --with-foo, store the variable
in the list.

2009-10-09eglibc: add support for user provided option groups
Arnaud Vrac <avrac@freebox.fr> [Fri, 09 Oct 2009 16:22:09 +0200] rev 1569
eglibc: add support for user provided option groups

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>

2009-10-08samples: fix the avr32-unknown-none sample 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 08 Oct 2009 23:29:45 +0200] rev 1568
samples: fix the avr32-unknown-none sample

Bizarely enough, binutils-2.18 fails to build when CONFIG_SHELL is set
to /bin/bash (although it has code to recognise bash and act accordingly).

Waht is really strange is that it does build when CONFIG_SHELL is set
to /bin/sh, *although* /bin/sh is a symlink to /bin/bash. WTF?!?!
(transplanted from 56bba7d4fc8924d276b71134b7f1ef57bed57f52)

2009-10-08samples: fix the avr32-unknown-none sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 08 Oct 2009 23:29:45 +0200] rev 1567
samples: fix the avr32-unknown-none sample

Bizarely enough, binutils-2.18 fails to build when CONFIG_SHELL is set
to /bin/bash (although it has code to recognise bash and act accordingly).

Waht is really strange is that it does build when CONFIG_SHELL is set
to /bin/sh, *although* /bin/sh is a symlink to /bin/bash. WTF?!?!

2009-10-04Tagging release 1.5.0 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:08:43 +0200] rev 1566
Tagging release 1.5.0

2009-10-041.5: update version to 1.5.0 1.5 crosstool-ng-1.5.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:07:27 +0200] rev 1565
1.5: update version to 1.5.0

2009-10-041.5: create maintenance branch for the 1.5 series 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:06:50 +0200] rev 1564
1.5: create maintenance branch for the 1.5 series

2009-10-04samples: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 12:53:12 +0200] rev 1563
samples: update

2009-10-04libelf: add libelf-0.8.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 11:25:34 +0200] rev 1562
libelf: add libelf-0.8.12

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:49:51 +0200] rev 1561
Merge.

2009-10-03configure: split has_or_abort in two: one to check, one to abort
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:49:23 +0200] rev 1560
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:21:41 +0200] rev 1559
Merge.

2009-10-03libc/glibc: don't use legacy snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:19:39 +0200] rev 1558
libc/glibc: don't use legacy snapshots

glibc snapshots have not been updated for about the
past 5 months. Consider them to be deprecated, now.

2009-10-02libc/glibc: remove dead code
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 00:04:24 +0200] rev 1557
libc/glibc: remove dead code

The option to retrieve snapshots is already handled by
the generic 'specific date' and 'use latest' entries.
No need for a special case, as there's no code for it.

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:34:37 +0200] rev 1556
Merge.

2009-10-03debug/gdb: cleanup (remove) the static ncurses build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:09:18 +0200] rev 1555
debug/gdb: cleanup (remove) the static ncurses build

ncurses is built solely for the sake of building a native gdb.
The user should not rely on this library to build his/her userland,
but should rather build his/her own. So we remove it from the
sysroot after we successfully build the native gdb.

2009-10-03doc: update documentation, mostly eye-candy
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:23:17 +0200] rev 1554
doc: update documentation, mostly eye-candy

2009-10-03sample: update the i686-nptl-linux-gnu sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 16:53:05 +0200] rev 1553
sample: update the i686-nptl-linux-gnu sample

Update this sample, now it seems to correctly build again.

2009-10-02libc/eglibc: fix building for seemingly native toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 22:10:17 +0200] rev 1552
libc/eglibc: fix building for seemingly native toolchains

Build eglibc with -O2 as a fix/workaround to building
seemingly-native toolchains (see docs/overview.txt).

See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-10/msg00001.html

2009-10-02libc/glibc: fix building for seemingly native toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 22:10:38 +0200] rev 1551
libc/glibc: fix building for seemingly native toolchains

Build glibc with -O2 as a fix/workaround to building
seemingly-native toolchains.

See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-09/msg00055.html

2009-10-01samples: upgrade some samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Oct 2009 22:14:45 +0200] rev 1550
samples: upgrade some samples

Upgrading all samples is too much a hassle.
Stick with those few for now.

2009-09-13samples: remove arm-beagle-linux-gnueabi
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 19:51:26 +0200] rev 1549
samples: remove arm-beagle-linux-gnueabi

Use the generic arm-cortex_a8-linux-gnueabi sample instead.

2009-10-01Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Oct 2009 22:12:18 +0200] rev 1548
Merge.

2009-09-27scripts: update config.guess and config.sub
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 12:12:21 +0200] rev 1547
scripts: update config.guess and config.sub

2009-09-27readme: document patch description
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 12:03:48 +0200] rev 1546
readme: document patch description

2009-09-28gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler
nyet@mrv.com [Mon, 28 Sep 2009 19:31:19 +0200] rev 1545
gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler

2009-09-27gcc: forward port gcc-4.4.0 patchset to 4.4.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 11:35:43 +0200] rev 1544
gcc: forward port gcc-4.4.0 patchset to 4.4.1

2009-09-26kernel/linux: update versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 26 Sep 2009 12:46:41 +0200] rev 1543
kernel/linux: update versions.

2009-09-26Insert an empty line bwetween added new versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 26 Sep 2009 12:45:07 +0200] rev 1542
Insert an empty line bwetween added new versions.

2009-09-14debug/ltrace: fix build with /exotic/ linux-host OS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Sep 2009 18:58:55 +0200] rev 1541
debug/ltrace: fix build with /exotic/ linux-host OS

For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi'
For uClibc-based toolchains, the tuple ends in '-uclibc.*'
Make ltrace recognise those tuples as being the same as 'linux-gnu'

2009-09-13Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:59:36 +0200] rev 1540
Merge.

2009-09-13samples: correclty fix saving samples with a C library config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:14:28 +0200] rev 1539
samples: correclty fix saving samples with a C library config file

2009-09-13samples: fix uClibc config file location
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:14:03 +0200] rev 1538
samples: fix uClibc config file location

2009-09-13comp-libs/cloog: fix building
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 12:25:33 +0200] rev 1537
comp-libs/cloog: fix building

For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.

2009-09-13config: fix indentation for options marked EXPERIMENTAL or OBSOLETE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:44:17 +0200] rev 1536
config: fix indentation for options marked EXPERIMENTAL or OBSOLETE

Change the 2-space separation into a 1-space separation, for the sake
of homogeneity.

2009-09-13scripts: add new version at top of choice
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:38:06 +0200] rev 1535
scripts: add new version at top of choice

Add new versions at the top of the choice menu, not at the bottom.

2009-09-13config: re-order menu entries so that latest versions are at the top
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:51:33 +0200] rev 1534
config: re-order menu entries so that latest versions are at the top

It makes better sense to have latest versions at the top of the choice
entries.

2009-09-13Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 12:12:05 +0200] rev 1533
Merge.

2009-09-13samples: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 11:49:10 +0200] rev 1532
samples: update

2009-09-12comp-libs/mpc: add latest 0.7 version.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 10:18:36 +0200] rev 1531
comp-libs/mpc: add latest 0.7 version.

2009-09-12comp-libs/cloog: new versions have the version number in the dir name
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 10:16:28 +0200] rev 1530
comp-libs/cloog: new versions have the version number in the dir name

For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.

2009-09-12samples: fix saving samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 00:10:38 +0200] rev 1529
samples: fix saving samples

Use a correct sed pattern when setting CT_PREFIX_DIR

2009-09-12libc/eglibc: fix download
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 00:11:12 +0200] rev 1528
libc/eglibc: fix download

Fix the test to check if download is forced.

2009-09-12Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 11:20:09 +0200] rev 1527
Merge.

2009-09-12kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 11:19:30 +0200] rev 1526
kernel/linux: add latest versions

Add 2.6.27.33 as long-term stable, and 2.6.30.6 and 2.6.31.

2009-09-09gcc: add patch to fix EABI for armv4t
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 09 Sep 2009 00:02:01 +0200] rev 1525
gcc: add patch to fix EABI for armv4t

As pointed out by Martin GUY, gcc incorrectly generates armv5t
instrcutions for EABI, even for cores that are an armv4t.
The new patch (for the 4.3 series) fixes the problem by downgrading
the default CPU for EABI to being an armv4t core.

2009-09-08kconfig: allow stdin/stdout redirection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 08 Sep 2009 22:42:48 +0200] rev 1524
kconfig: allow stdin/stdout redirection

Allow stdin/stdout redirection for the CLI conf (not mconf).
This allows to recall a sample and automatically apply the defaults
to new configuration option, with something like the following:
yes "" |ct-ng "sample_name"

2009-09-07docs: add a tutorial on how to build a toolchain on Mac OS-X
Blair Burtan <info@northernlightstactical.com> [Mon, 07 Sep 2009 23:12:25 +0200] rev 1523
docs: add a tutorial on how to build a toolchain on Mac OS-X

Add a step-bystep tutorial to build a cross-toolchain on Mac OS-X.

2009-09-07companion libs: add latest CLooG/PPL versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 22:03:06 +0200] rev 1522
companion libs: add latest CLooG/PPL versions

Add the latest 0.15.{4,5,6,7} CLoog/PPL.

2009-09-07samples: show the PPL, GLoog/ppl and MPC versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 19:03:09 +0200] rev 1521
samples: show the PPL, GLoog/ppl and MPC versions

When displaying a sample, do show the PPL, CLoog/ppl and MPC versions

2009-09-07samples: fix displaying selected tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 18:55:11 +0200] rev 1520
samples: fix displaying selected tools

Do display selected tools / debug facilities when displaying a sample.

2009-09-07samples: replace usage of echo with printf
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 18:40:30 +0200] rev 1519
samples: replace usage of echo with printf

Using printf instead of echo allows easier and better formatting.

2009-09-06tools wrapper: fix building
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 17:58:05 +0200] rev 1518
tools wrapper: fix building

Remove the build tools only after the wrapper is built.
Use the corect C compiler to build the tools wrapper.
Use the correct log level.

2009-09-06crosstool.sh.in: better mesage when creating script-overrides
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 16:49:54 +0200] rev 1517
crosstool.sh.in: better mesage when creating script-overrides

2009-09-06log functions: fix CT_DoLog and CT_DoExecLog
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 16:49:20 +0200] rev 1516
log functions: fix CT_DoLog and CT_DoExecLog

$@ and $* are different when in double quotes; use $* to print the message.

2009-09-06tools wrapper: move choice selection to a more appropriate place
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 11:47:40 +0200] rev 1515
tools wrapper: move choice selection to a more appropriate place

Move the tools wrapper choice selection down to the companion libraries
sub-menu, to avoid the user going back and forth in the menu.

2009-09-06tools wrapper: fix config dependency
Joachim Nilsson <jocke@vmlinux.org> [Sun, 06 Sep 2009 11:13:28 +0200] rev 1514
tools wrapper: fix config dependency

The tools wrapper is not needed only for canadian crosses, but also
for every other type of toolchain.

2009-09-06docs: typo in overview.txt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 10:45:31 +0200] rev 1513
docs: typo in overview.txt

2009-09-04TODO: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 04 Sep 2009 17:27:16 +0200] rev 1512
TODO: update

Add TODO list for m4, autoconf, automake and libtool.
Building our own versions would remove burden from the users
who have older versions on their distributions, and are not
ready/able/allowed to upgrade.

2009-09-01config.{gues,sub}: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Sep 2009 10:41:44 +0200] rev 1511
config.{gues,sub}: update

2009-08-31config: move the patch choice to the extract section
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 22:55:26 +0200] rev 1510
config: move the patch choice to the extract section

Choosing the origin of the patches to apply is best
done in the 'extract' section.

2009-08-31config: add fallback to patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:47:58 +0200] rev 1509
config: add fallback to patch order

Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.

2009-08-31config: add the local,bundled patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:51:53 +0200] rev 1508
config: add the local,bundled patch order

This ordering first applies the local patches, then the bundeld ones.

2009-08-31config: make selecting the patch origin a choice rather than a bool
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:05:52 +0200] rev 1507
config: make selecting the patch origin a choice rather than a bool

2009-08-31functions: do not over-detect error when patching
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 11:57:13 +0200] rev 1506
functions: do not over-detect error when patching

2009-08-30Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 20:07:39 +0200] rev 1505
Merge.

2009-08-30tools wrapper: fix error due to unused argument
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:58:41 +0200] rev 1504
tools wrapper: fix error due to unused argument

In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.

2009-08-30tools wrapper: correctly install the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:54:51 +0200] rev 1503
tools wrapper: correctly install the C wrapper

When building the C wrapper, specify the source file to be compiled.

2009-08-30config: move the "build shared libraries" option to the OS menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:54:30 +0200] rev 1502
config: move the "build shared libraries" option to the OS menu

The "Build shared libraries" config option is dependant on the type of
"Target OS".

Moving this options to the "Target OS" sub-menu is also better in the user
perspective: he/she no longer needs to go back and forth to see if he/she
missed any option.

2009-08-30config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:50:30 +0200] rev 1501
config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS

Now that all kernels that support shared libraries select the correct config
option, we can change the dependency rules of SHARED_LIBS accordingly.

2009-08-30config: Linux kernel selectes shared libraries support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:47:51 +0200] rev 1500
config: Linux kernel selectes shared libraries support

The Linux kernel supports using shared libraries, so prompt the user.

2009-08-30config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:44:59 +0200] rev 1499
config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option

The target OSes will be able to select this option if they support shared
libraries, instead of having "Build shared libaries" depend on each OS.

2009-08-30config: swap the debug and tools sub-menus
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:34:08 +0200] rev 1498
config: swap the debug and tools sub-menus

ltrace, in the debug sub-menu, selects libelf, in the tools sub-menu.
Inverse the order of the two sub-menus, so that the user does not have
to go back and forth between the two sub-menus.

2009-08-30config: move down companion libraries sub-menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:33:48 +0200] rev 1497
config: move down companion libraries sub-menu

Move the companion libraries sub-menu down the main menu.
That way, the user does not need to go back and forth in the menu
to change options set by the different components that select the
companion libraries (binutils, gcc, gdb).

2009-08-30companion-libs: PPL/CLooG/MPC require GMP and MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 01:00:19 +0200] rev 1496
companion-libs: PPL/CLooG/MPC require GMP and MPFR

The PPL, CLoog/ppl and MPC libraries require GMP and MPFR.
Select GMP/MPFR appropriately.

2009-08-30tools wrapper: introduce the silent WRAPPER_NEEDED config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:57:40 +0200] rev 1495
tools wrapper: introduce the silent WRAPPER_NEEDED config option

Add the WRAPPER_NEEDED silent config option, that can be selected by
components that require it (companion libs so far).
Rely on this config option when deciding to install the wrapper,
instead of checking GMP/MPFR or PPL/CLoog/MPC.

2009-08-30Merge the C wrapper.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:35:58 +0200] rev 1494
Merge the C wrapper.

2009-08-30config: choose whether to use the shell or the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:27:12 +0200] rev 1493
config: choose whether to use the shell or the C wrapper

Offer a config choice on whether to isntall the script wrapper, or
the compiled C wrapper. Update docs/overview.txt accordingly.

2009-08-29tool wrapper: add initial wrapper coded in C
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 29 Aug 2009 18:27:47 +0200] rev 1492
tool wrapper: add initial wrapper coded in C

Add an initial wrapper:
- find the realpath of the tool being called
- add the '.' in front of the tool name
- add the '/lib' dir to the base dir of the tool
- set and export LD_LIBRARY_PATH
- execve the real tool

2009-08-30overview: fix table of content, fix the hacker's way
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:30:45 +0200] rev 1491
overview: fix table of content, fix the hacker's way

table of content: add missing entry
the hacker's way: no need to "make install"