2009-01-12Fix initialising the workspace:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 18:57:45 +0000] rev 1135
Fix initialising the workspace:
- don't remove directories in the background:
- it is highly dangerous
- it can lead to data loss in case of frequent stop/restart with a slow disk
- log actions with CT_DoExecLog as much as possible, instead of using |CT_DoLog

/trunk/scripts/crosstool.sh | 100 43 57 0 ++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 57 deletions(-)

2009-01-12Don't print anything about LAN mirror if it is not used.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 18:54:34 +0000] rev 1134
Don't print anything about LAN mirror if it is not used.
Don't re-compute a variable that has already been computed.

/trunk/scripts/functions | 16 9 7 0 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

2009-01-11The uClibc site has been overhauled lately, so the URL to retrieve sstrip has changed.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Jan 2009 18:05:25 +0000] rev 1133
The uClibc site has been overhauled lately, so the URL to retrieve sstrip has changed.
Thanks to Thomas Monjalon <thomas@monjalon.net> and John Utz <john@utzweb.net> for spotting this.

/trunk/scripts/build/tools/200-sstrip.sh | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

2009-01-07./configurei: make FORCE work again:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 07 Jan 2009 12:11:37 +0000] rev 1132
./configurei: make FORCE work again:
- removed the --force command line option
- use FORCE from the environment

/trunk/configure | 9 2 7 0 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

2009-01-06Add an option to forbid downloads.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:34:36 +0000] rev 1131
Add an option to forbid downloads.
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.

/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)

2009-01-06Update all samples to the latest set of config options.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:22:02 +0000] rev 1130
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)

2009-01-06Add the Eclipse Java Compiler to be able to compile Java.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:10:17 +0000] rev 1129
Add the Eclipse Java Compiler to be able to compile Java.
Andy JOHNSON wrote:
The Java compiler for GCC versions 4.3.0 and up requires the
Eclipse compiler "ecj1" to be built as well. I added "gcj" to
the list of utilities to make the initial link.


/trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/config/cc/gcc.in | 6 6 0 0 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)

2009-01-06Fix building ARM Big Endian toolchain:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 21:05:33 +0000] rev 1128
Fix building ARM Big Endian toolchain:
- add a patch by Gilles CHANTEPERDRIX.

/trunk/patches/gcc/4.2.4/241-arm-bigendian2.patch | 33 33 0 0 +++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

2009-01-06Message beautification when saving locally.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 21:00:39 +0000] rev 1127
Message beautification when saving locally.

/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)

2009-01-05Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 05 Jan 2009 23:02:43 +0000] rev 1126
Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
- it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons:
- they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names
- patches are against eithe the short or long name, but non-uniformly use one or the other
- it is the reposibility of the component (glibc in this case) to handle corner cases such as those
- update all components to use the new functions

/trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +-
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +-
/trunk/scripts/build/binutils.sh | 3 2 1 0 +-
/trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++--
/trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++--
/trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------
/trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++--
/trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/gmp.sh | 3 2 1 0 +-
/trunk/scripts/build/mpfr.sh | 3 2 1 0 +-
/trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++-----------------
18 files changed, 108 insertions(+), 69 deletions(-)

2009-01-05Fix building DUMA:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 05 Jan 2009 21:09:37 +0000] rev 1125
Fix building DUMA:
- DUMA separates its name from its version with an underscore, not with a dash.

/trunk/scripts/build/debug/200-duma.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

2009-01-05Fix C library addons extraction:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 05 Jan 2009 20:37:03 +0000] rev 1124
Fix C library addons extraction:
- renaming the dircetory in CT_ExtratAndPatch is wrong:
- patches against the C library addons may be build against the short *or* long name... :-(
- symlink is more robust, even if less nice
- renaming the directory _after_ CT_ExtractAndPatch is too late:
- if patches are against the short name, and we renamed too the long name, patches don't apply
- so we'll never reach the point where we rename

/trunk/scripts/build/libc/glibc.sh | 1 0 1 0 -
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 2 1 1 0 +-
3 files changed, 1 insertion(+), 3 deletions(-)

2009-01-04Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 22:17:53 +0000] rev 1123
Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.

CT_LIBC_FILE:
- that one was not easy, as it had sneaked into CT_ExtractAndPatch
- which in turn made CT_ExtractAndPatch have references to C library addons
- which in turn relieved the C library _extract functions from doing their own job
- which in turn imposed some nasty tricks in CT_ExtractAndPatch
- which in turn made life easier for the DUMA _get and _extract functions
- which unveiled some bizare behavior for pushd and popd:
- if using smthg ike: 'pushd foo |bar':
- the directory is *neither* changed
- *nor* is it pushed onto the stack
- which made popd fail

CT_MakeAbsolutePath:
- used only to make CT_LOCAL_TARBALLS_DIR canonical
- which is ((almost) useless:
- hopefully, the user entered a full path already
- if it's not the case, too bad...

/trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +--
/trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++---------------
/trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++---
/trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++-----------
/trunk/scripts/crosstool.sh | 8 0 8 0 ----
/trunk/scripts/functions | 77 15 62 0 ++++++++--------------------------------
6 files changed, 84 insertions(+), 131 deletions(-)

2009-01-04Get rid of CT_CC_FILE.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:39:39 +0000] rev 1122
Get rid of CT_CC_FILE.

/trunk/scripts/build/cc/gcc.sh | 52 26 26 0 ++++++++++++++++++++++++------------------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 26 insertions(+), 27 deletions(-)

2009-01-04Remove support for gcc-2.95.3, it has never ever been tested.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:38:41 +0000] rev 1121
Remove support for gcc-2.95.3, it has never ever been tested.

/trunk/config/cc/gcc.in | 6 0 6 0 ------
/trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ----
3 files changed, 14 deletions(-)

2009-01-04Fix aborting when neither wget nor curl are present.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:35:25 +0000] rev 1120
Fix aborting when neither wget nor curl are present.

/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)

2009-01-04Get rid of CT_GMP_FILE and CT_MPFR_FILE.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:25:58 +0000] rev 1119
Get rid of CT_GMP_FILE and CT_MPFR_FILE.

/trunk/scripts/build/gmp.sh | 32 16 16 0 ++++++++++++++++----------------
/trunk/scripts/build/mpfr.sh | 38 19 19 0 +++++++++++++++++++-------------------
/trunk/scripts/crosstool.sh | 2 0 2 0 --
3 files changed, 35 insertions(+), 37 deletions(-)

2009-01-04A small layout enhancement in the Linux kernel build script.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:25:24 +0000] rev 1118
A small layout enhancement in the Linux kernel build script.

/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

2009-01-04Get rid of CT_BINUTILS_FILE.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:21:00 +0000] rev 1117
Get rid of CT_BINUTILS_FILE.

/trunk/scripts/build/binutils.sh | 56 28 28 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 28 insertions(+), 29 deletions(-)

2009-01-04Get rid off CT_KERNEL_FILE.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:18:20 +0000] rev 1116
Get rid off CT_KERNEL_FILE.

/trunk/scripts/build/kernel/linux.sh | 30 15 15 0 +++++++++++++++---------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 15 insertions(+), 16 deletions(-)

2009-01-04Add an experimental iPhone toolchain found on the net.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 14:14:49 +0000] rev 1115
Add an experimental iPhone toolchain found on the net.

/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 332 332 0 0 ++++++++++++++++++++++
/trunk/samples/arm-iphone-linux-gnueabi/reported.by | 3 3 0 0 +
2 files changed, 335 insertions(+)

2009-01-04Enable using glibc post 2.8:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 12:46:13 +0000] rev 1114
Enable using glibc post 2.8:
- retrieve tarballs from FTP/HTTP for glibc 2.7 and older
- checkout from CVS for glibc 2.8 and later
- add config options for glibc-2_8 and glibc-2_9

/trunk/scripts/build/libc/glibc.sh | 50 39 11 0 ++++++++++++++++++++++++++++++++++----------
/trunk/config/libc/glibc.in | 49 49 0 0 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+), 11 deletions(-)

2009-01-04Add new wrapper fucntions:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Jan 2009 12:43:54 +0000] rev 1113
Add new wrapper fucntions:
- retrieve from local storage (CT_GetLocal)
- save to local storage (CT_SaveLocal)
- retrieve from CVS (CT_GetCVS)
- make CT_GetFile and CT_GetCVS use CT_GetLocal and CT_SaveLocal

/trunk/scripts/functions | 126 91 35 0 +++++++++++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 91 insertions(+), 35 deletions(-)

2009-01-03Get rid of all stuff related to building a /delivery' traball:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jan 2009 21:11:41 +0000] rev 1112
Get rid of all stuff related to building a /delivery' traball:
- building a delivery tarball has long been broken (since crostool-Ng is installable)
- get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built

/trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ----
/trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +----------
/trunk/scripts/build/binutils.sh | 4 0 4 0 ----
/trunk/scripts/build/cc/gcc.sh | 5 0 5 0 -----
/trunk/scripts/build/debug/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 -------
/trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/none.sh | 5 0 5 0 -----
/trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------
/trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/gmp.sh | 6 0 6 0 ------
/trunk/scripts/build/mpfr.sh | 6 0 6 0 ------
/trunk/docs/overview.txt | 9 0 9 0 ---------
20 files changed, 1 insertion(+), 128 deletions(-)

2009-01-03Remove spurious line in gcc script (probably a bad copy-paste with the mouse...).
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jan 2009 20:53:19 +0000] rev 1111
Remove spurious line in gcc script (probably a bad copy-paste with the mouse...).

/trunk/scripts/build/cc/gcc.sh | 1 0 1 0 -
1 file changed, 1 deletion(-)

2009-01-03Remove an obsolete, mis-leading comment in the glibc/eglibc common options.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Jan 2009 20:13:35 +0000] rev 1110
Remove an obsolete, mis-leading comment in the glibc/eglibc common options.

/trunk/config/libc/glibc-eglibc.in-common | 6 0 6 0 ------
1 file changed, 6 deletions(-)

2008-12-28Small Makefile fixes.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Dec 2008 10:19:50 +0000] rev 1109
Small Makefile fixes.

/trunk/Makefile.in | 29 17 12 0 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)

2008-12-28Add latest Linux kernel versions:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Dec 2008 09:38:35 +0000] rev 1108
Add latest Linux kernel versions:
- 2.6.27.{7,8,9,10}
- 2.6.28

/trunk/config/kernel/linux.in | 25 25 0 0 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

2008-12-24Enable C++ for baremetal.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Dec 2008 17:34:32 +0000] rev 1107
Enable C++ for baremetal.

/trunk/scripts/build/cc/gcc.sh | 7 5 2 0 +++++--
/trunk/config/cc.in | 8 2 6 0 ++------
2 files changed, 7 insertions(+), 8 deletions(-)

2008-12-23Further enhance the check for needed tools:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Dec 2008 22:20:25 +0000] rev 1106
Further enhance the check for needed tools:
- update the tool_pattern to use ' || ' as a pattern separator
- which allows using | in regexp
- add checks for cut and xargs
- manually check for grep and sed because they are needed when checking for tools
- print why a test failed, with each tested tool and regexp
- move tools checks before options parsing
- apply conttibutions before computing the version string
- inform user to run make && make install

/trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 111 insertions(+), 62 deletions(-)