Commit Graph

805 Commits

Author SHA1 Message Date
Yann E. MORIN"
894a3cd5ba Update and clarify COPYING (plus a typo).
/trunk/COPYING |    9     7     2     0 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-14 18:20:03 +00:00
Yann E. MORIN"
02d2b29cda Enhance setting the minimum kernel version glibc will run against.
Ideally, eglibc should also benefit for that, but the current code does not set it.

 /trunk/scripts/build/libc/glibc.sh        |   38    33     5     0 +++++++++++++++---
 /trunk/config/libc/glibc.in               |    4     2     2     0 +-
 /trunk/config/libc/uClibc.in              |    2     2     0     0 +
 /trunk/config/libc/eglibc.in              |    4     2     2     0 +-
 /trunk/config/libc/glibc-eglibc-common.in |   80    68    12     0 +++++++++++++++++++++++++++++++------
 /trunk/config/libc.in                     |   69    38    31     0 ++++++++++++++++++--------------
 6 files changed, 145 insertions(+), 52 deletions(-)
2008-09-14 18:09:36 +00:00
Yann E. MORIN"
91a8de54e4 Beautify somewhat the WiKi table for narrow screens.
/trunk/scripts/showSamples.sh |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14 16:54:12 +00:00
Yann E. MORIN"
799672a641 Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

 /trunk/scripts/build/kernel/none.sh              |   77     6    71     0 +----
 /trunk/scripts/build/cc/gcc.sh                   |   58    41    17     0 ++-
 /trunk/scripts/build/libc/none.sh                |  513     9   504     0 +-----------------------------
 /trunk/scripts/crosstool.sh                      |   17     9     8     0 +
 /trunk/scripts/functions                         |    6     4     2     0 +
 /trunk/scripts/showSamples.sh                    |    6     3     3     0
 /trunk/samples/arm-unknown-elf/crosstool.config  |  225   225     0     0 +++++++++++++
 /trunk/samples/arm-unknown-eabi/crosstool.config |  223   223     0     0 +++++++++++++
 /trunk/config/kernel/linux_headers_install.in    |   64    27    37     0 ++--
 /trunk/config/kernel.in                          |    9     8     1     0 +
 /trunk/config/toolchain.in                       |    1     1     0     0 +
 /trunk/config/cc/gcc.in                          |    3     3     0     0 +
 /trunk/config/debug/dmalloc.in                   |    1     1     0     0 +
 /trunk/config/debug/gdb.in                       |    4     3     1     0 +
 /trunk/config/debug/strace.in                    |    1     1     0     0 +
 /trunk/config/debug/duma.in                      |    1     1     0     0 +
 /trunk/config/cc.in                              |    8     8     0     0 +
 /trunk/config/target.in                          |   13    13     0     0 +
 /trunk/config/binutils.in                        |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in                        |    1     1     0     0 +
 /trunk/config/libc.in                            |   17    11     6     0 +
 /trunk/arch/arm/functions                        |    3     1     2     0 -
 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
21418e80d0 Update config.sub.
/trunk/tools/config.sub |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2008-09-11 09:02:00 +00:00
Yann E. MORIN"
e9cf7eeb12 Fix auto-completion for updaetools.
/trunk/ct-ng.comp |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-11 09:01:48 +00:00
Yann E. MORIN"
7a0e770be1 Remove the now really obsolete Linux kernel headers copy and sanitised.
Remove orphanned Linux kernel patchsets.
Initiate a kernel build scripts directory. Move the Linux kernel build script there.

 /trunk/scripts/build/kernel/linux.sh |  146    11   135     0 +++---------------------------------------
 /trunk/scripts/crosstool.sh          |    2     1     1     0
 /trunk/steps.mk                      |    1     0     1     0 -
 /trunk/config/kernel/linux.in        |   49     0    49     0 --------------
 /trunk/config/kernel.in              |    4     4     0     0 +
 5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-10 21:40:23 +00:00
Yann E. MORIN"
a3c9e9bacf SPE ABI is no longer EXPERIMENTAL.
/trunk/arch/powerpc/config.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-05 16:15:34 +00:00
Yann E. MORIN"
f85219814d Update this sample without EXPERIMENTAL features as much as possible.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   12     6     6     0 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2008-09-05 11:59:35 +00:00
Yann E. MORIN"
bcc1485a6c Update the PPC sample to not use EXPERIMENTAL features.
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config |   52    28    24     0 +++++++++++----------
 1 file changed, 28 insertions(+), 24 deletions(-)
2008-09-05 11:11:29 +00:00
Yann E. MORIN"
b1459a8862 Update docs/overview.txt with the script shell fragment that defines bash completion.
/trunk/docs/overview.txt |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2008-09-05 10:57:06 +00:00
Yann E. MORIN"
c6641de2bf Mark the IA64 sample as being broken (might be because it uses an old gcc, that triggers a incorrect code-path in scripts/build/cc_gcc.sh). 2008-09-05 10:43:28 +00:00
Yann E. MORIN"
3dadbc69ac Add completion for crosstool-NG.
To be sourced by a bash-compatible shell startup script; ideally, to be installed in /etc/bash_completion.d/

 /trunk/ct-ng.comp |   30    30     0     0 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
2008-09-05 10:36:53 +00:00
Yann E. MORIN"
1be967a15c Update the teo MIPS sample to use as less EXPERIMENTAL features as possible.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |   39    24    15     0 ++++++++++------
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config  |   51    28    23     0 ++++++++++++---------
 2 files changed, 52 insertions(+), 38 deletions(-)
2008-09-05 10:21:23 +00:00
Yann E. MORIN"
c202ddac61 Update the i686 sample to not use EXPERIMENTAL features.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |   51    28    23     0 +++++++++++++++------------
 1 file changed, 28 insertions(+), 23 deletions(-)
2008-09-04 18:45:35 +00:00
Yann E. MORIN"
15ff521e40 Update the latest two RM samples.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   40    25    15     0 ++++++++-----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   36    22    14     0 +++++++-----
 2 files changed, 47 insertions(+), 29 deletions(-)
2008-09-04 17:02:05 +00:00
Yann E. MORIN"
bda3621205 Update the i586-uclibc sample.
/trunk/samples/i586-geode-linux-uclibc/crosstool.config |   39    24    15     0 ++++++++++++++---------
 1 file changed, 24 insertions(+), 15 deletions(-)
2008-09-04 16:56:53 +00:00
Yann E. MORIN"
f33a476ba0 The Alpha sample does not use EXPERIMENTAL features.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   53    29    24     0 ++++++++++---------
 1 file changed, 29 insertions(+), 24 deletions(-)
2008-09-04 16:18:16 +00:00
Yann E. MORIN"
e7adc0a221 Update some samples to use only non-EXPERIMENTAL features where possible (uClibcis still a snashot, though).
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config       |   60    32    28     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   36    19    17     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |   54    30    24     0 ++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |   46    28    18     0 +++++++-----
 4 files changed, 109 insertions(+), 87 deletions(-)
2008-09-04 15:43:08 +00:00
Yann E. MORIN"
fa8b6c8ffd Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.
/trunk/scripts/showSamples.sh |    9     7     2     0 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-04 15:42:25 +00:00
Yann E. MORIN"
a854ef6eb5 Add new ARMeb EABI sample.
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config |  346   346     0     0 +++++++++++++++++++++++++++
 1 file changed, 346 insertions(+)
2008-09-04 07:42:12 +00:00
Yann E. MORIN"
e53b84e5e6 Add a new ARM sample.
/trunk/samples/arm-unknown-linux-gnu/crosstool.config |  347   347     0     0 +++++++++++++++++++++++++++++++++
 /trunk/samples/arm-unknown-linux-gnu/reported.by      |    2     2     0     0 +
 2 files changed, 349 insertions(+)
2008-09-02 21:45:25 +00:00
Yann E. MORIN"
05fc40d0ec Beautify samples listing.
/trunk/scripts/showSamples.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02 21:14:47 +00:00
Yann E. MORIN"
76505c71c4 Mark some features as no longer being EXPERIMENTAL.
/trunk/config/debug/gdb.in  |    3     1     2     0 +--
 /trunk/config/libc/glibc.in |    1     0     1     0 -
 2 files changed, 1 insertion(+), 3 deletions(-)
2008-09-02 19:50:45 +00:00
Yann E. MORIN"
10f2223773 EABI is now considered stable. Thanks Michael ABBOTT for testing.
/trunk/arch/arm/config.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-02 16:48:38 +00:00
Yann E. MORIN"
2a4ab33370 Warn the user if he/she recalls a sample with EXPERIMENTAL features.
Also, print the EXPERIMENTAL status when listing the samples.

 /trunk/scripts/showSamples.sh |   12     9     3     0 +++++++++---
 /trunk/samples/samples.mk     |   12    12     0     0 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)
2008-09-02 12:43:11 +00:00
Yann E. MORIN"
3d4bc00719 Add support for building Insight instead of gdb (only for the cross-gdb).
/trunk/scripts/build/debug/300-gdb.sh |   62    55     7     0 ++++++++++++++++++++++++++++++++++++-----
 /trunk/config/debug/gdb.in            |   13    13     0     0 +++++++++
 2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-02 10:47:44 +00:00
Yann E. MORIN"
d837e19ce8 Don't allow to specify an ABI for ARM EABI builds: the ABI is implied by the fact we're building for EABI.
/trunk/arch/arm/functions |   19     3    16     0 +++----------------
 /trunk/arch/arm/config.in |    9     6     3     0 ++++++---
 2 files changed, 9 insertions(+), 19 deletions(-)
2008-09-01 17:54:39 +00:00
Yann E. MORIN"
d246b4d3ad Add linux-2.6.26.3.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-09-01 16:57:41 +00:00
Yann E. MORIN"
520eda92a2 Be gentle to older findutils that don't have the "{} +" construct, and simply use "{} \;" instead.
/trunk/scripts/build/debug/300-gdb.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-01 09:15:31 +00:00
Yann E. MORIN"
bda3dc8943 Update README to point to docs/known-issues.txt.
/trunk/README |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-08-30 15:24:28 +00:00
Yann E. MORIN"
21fdd0774c Rebuild the kconfig stuff on kconfig source change.
/trunk/kconfig/kconfig.mk |   14    12     2     0 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
2008-08-30 15:23:12 +00:00
Yann E. MORIN"
8623e7154c eglibc and PowerPC SPE documentaion, courtesy Nate CASE.
/trunk/config/libc.in         |    7     7     0     0 +++++++
 /trunk/arch/powerpc/config.in |   11    10     1     0 ++++++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
2008-08-27 16:24:24 +00:00
Yann E. MORIN"
0a99eb0c77 Enable glibc to include support for kernel versions different than the version from the kernel headers.
Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch.

 /trunk/scripts/build/libc_glibc.sh        |    4     2     2     0 +-
 /trunk/scripts/build/libc_eglibc.sh       |    2     1     1     0 +-
 /trunk/config/libc/glibc-eglibc-common.in |   44    44     0     0 +++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 3 deletions(-)
2008-08-26 21:37:46 +00:00
Yann E. MORIN"
477baecf46 Missed one variable when converting to common options for eglibc and glibc (thanks Nate Case).
/trunk/scripts/build/libc_eglibc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26 21:30:22 +00:00
Yann E. MORIN"
b3f5a87080 Commonalise options common to both glibc and eglibc.
/trunk/scripts/build/libc_eglibc.sh       |    6     3     3     0 +-
 /trunk/config/libc/glibc.in               |   63     2    61     0 +---------------------------------
 /trunk/config/libc/eglibc.in              |   61     1    60     0 +--------------------------------
 /trunk/config/libc/eglibc-glibc-common.in |    1     1     0     0 +
 /trunk/config/libc/glibc-eglibc-common.in |   69    69     0     0 +++++++++++++++++++++++++++++++++++++
 5 files changed, 76 insertions(+), 124 deletions(-)
2008-08-26 16:47:47 +00:00
Yann E. MORIN"
9dd85f517a Also dump the GMP and MPFR versions when dumping a sample in verbose mode.
/trunk/scripts/showSamples.sh |    3     3     0     0 +++
 1 file changed, 3 insertions(+)
2008-08-25 21:42:34 +00:00
Yann E. MORIN"
72be420406 Fix extracting the configuration from a build log.
/trunk/tools/extract-config.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-25 21:41:52 +00:00
Yann E. MORIN"
4a7d144844 Allow using ash as the shell for ./configure and make.
After an idea by "Martin Guy" <martinwguy@yahoo.it>:
http://sourceware.org/ml/crossgcc/2008-08/msg00037.html

 /trunk/scripts/crosstool.sh          |    4     4     0     0 ++++
 /trunk/config/global/build-behave.in |   14    14     0     0 ++++++++++++++
 2 files changed, 18 insertions(+)
2008-08-25 19:44:39 +00:00
Yann E. MORIN"
c2426e53f1 Allow binutils-2.18 to use a shell other than bash when building. 2008-08-25 17:33:13 +00:00
Yann E. MORIN"
916e8760dc Typo.
/trunk/config/toolchain.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-21 13:12:35 +00:00
Yann E. MORIN"
30481d01ce Move the threading model choice back to the C library menu:
- the threading models available are dependent on the C library used
 - it is thus easier to first select the C libary, and then the threading model, rather going back to the toolchain menu.

 /trunk/config/toolchain.in |   29     0    29     0 -----------------------------
 /trunk/config/libc.in      |   47    38     9     0 ++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 38 insertions(+), 38 deletions(-)
2008-08-21 09:48:00 +00:00
Yann E. MORIN"
535c532baf Fix building older gdb's with newer gcc's.
/trunk/scripts/build/debug/300-gdb.sh |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-08-20 12:08:03 +00:00
Yann E. MORIN"
dbb47694a4 Default to check installed kernel headers by default.
/trunk/config/kernel/linux_headers_install.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-19 07:06:21 +00:00
Yann E. MORIN"
99691ee4d6 Log retrieved file emssages to DEBUG level, not EXTRA.
/trunk/scripts/build/libc_eglibc.sh |    2     1     1     0 +-
 /trunk/scripts/functions            |    6     3     3     0 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-17 14:13:00 +00:00
Yann E. MORIN"
5742930b13 MPFR: log autotools files rebuilding to DEBUG level, not EXTRA.
/trunk/scripts/build/mpfr.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-17 14:10:44 +00:00
Yann E. MORIN"
3b53d0fba5 Don't do debug in this ARM sample.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   15     9     6     0 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
2008-08-13 06:39:21 +00:00
Yann E. MORIN"
3fdb4a17f0 Update the PowerPC SPE sample to not use a proxy.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   12     6     6     0 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2008-08-12 17:16:39 +00:00
Yann E. MORIN"
33743667dc Update the PowerPC SPE sample.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   55    47     8     0 +++++++++++++++---
 1 file changed, 47 insertions(+), 8 deletions(-)
2008-08-12 11:15:44 +00:00
Yann E. MORIN"
57347d6ca0 gcc-4.3.1 is now longer EXPERIMENTAL (gcc-4.3.0 is still EXPERIMENTAL, because of lack of testing).
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-08-12 10:53:56 +00:00