Commit Graph

188 Commits

Author SHA1 Message Date
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"
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"
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"
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"
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"
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
Yann E. MORIN"
5b77246d1c Typo.
/trunk/config/libc.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-12 10:53:11 +00:00
Yann E. MORIN"
ebeba61f44 Move TARGET_LDFLAGS up with all target-dependent flags.
/trunk/config/target.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-08-12 09:54:42 +00:00
Yann E. MORIN"
59ef10f5d6 Merge the branches/eglibc stuff:
- Add support for eglibc

 /trunk/scripts/functions  |    6     4     2     0 ++++--
 /trunk/docs/CREDITS       |    1     1     0     0 +
 /trunk/config/libc.in     |   12    12     0     0 ++++++++++++
 /trunk/arch/arm/functions |    4     2     2     0 ++--
 4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11 12:22:47 +00:00
Yann E. MORIN"
dde2a329d7 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-08-09 21:09:22 +00:00
Yann E. MORIN"
ef0f400c26 Introduce four new ARCH specific variables that CT_DoArchValues can set if they want:
- CT_ARCH_CC_CORE_EXTRA_CONFIG
  - CT_ARCH_CC_EXTRA_CONFIG
  - CT_ARCH_TARGET_CLFAGS
  - CT_ARCH_TARGET_LDFLAGS
This will hopefully enable architectures to specify specific flags.
PowerPC will need them to introduce SPE (coming RSN).

 /trunk/scripts/crosstool.sh |    2     2     0     0 ++
 /trunk/scripts/functions    |    4     2     2     0 ++--
 /trunk/docs/overview.txt    |   45    22    23     0 ++++++++++++++++++++++-----------------------
 /trunk/config/target.in     |   10    10     0     0 ++++++++++
 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07 15:18:18 +00:00
Yann E. MORIN"
c1a2e1bb87 Add a new config knob for gcc: usage of SJLJ to handle exceptions.
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).

 /trunk/config/cc/gcc.in        |   41    39     2     0 +++++++++++++++++++++++++++++++++++++++--
 /trunk/scripts/build/cc_gcc.sh |    8     5     3     0 +++++---
 2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07 13:55:30 +00:00
Yann E. MORIN"
0dc2ac15c9 Mark "ADA", "ObjC", "ObjC++" and "other languages" as being EXPERIMENTAL.
/trunk/config/cc.in |   12     8     4     0 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2008-08-05 13:27:09 +00:00
Yann E. MORIN"
805aa7f8ec Add latest Linux kernel headers.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-08-04 13:18:36 +00:00
Yann E. MORIN"
4eeadf87e2 Rework a little bit of the LAN mirror and proxy settings.
/trunk/scripts/crosstool.sh      |  105     4   101     0 +------------------------
 /trunk/scripts/functions         |  151   129    22     0 +++++++++++++++++++++++++++++++-----
 /trunk/config/global/download.in |  193    99    94     0 ++++++++++++++++++++++++----------------------
 3 files changed, 232 insertions(+), 217 deletions(-)
2008-08-01 09:23:58 +00:00
Yann E. MORIN"
2166fb982f Change some config items' default values.
/trunk/config/global/paths.in   |    4     2     2     0 ++--
 /trunk/config/global/logging.in |    2     1     1     0 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
2008-08-01 08:23:29 +00:00
Yann E. MORIN"
7d79584d9b Add latest headers from Linux kernel 2.6.25.1{1,2}.
/trunk/config/kernel/linux_headers_install.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-07-28 11:43:29 +00:00
Yann E. MORIN"
e64bc999d5 Hmmm. The debug pause at each step never ever worked... Sigh...
/trunk/scripts/crosstool.sh       |    2     1     1     0 +-
 /trunk/config/global/ct-behave.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-07-25 22:57:35 +00:00
Yann E. MORIN"
7abf35f472 Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for glibc.
Update uClibc config to commonalise some help.

 /trunk/scripts/build/libc_glibc.sh |   22    20     2     0 ++++++++++++++++++++--
 /trunk/config/libc/glibc.in        |   12    12     0     0 ++++++++++++
 /trunk/config/libc/uClibc.in       |   12     4     8     0 ++++--------
 /trunk/config/libc.in              |   13    13     0     0 +++++++++++++
 4 files changed, 49 insertions(+), 10 deletions(-)
2008-07-22 13:29:08 +00:00
Yann E. MORIN"
8ff367d9d8 MArk gdb-6.5 as being OBSOLETE.
/trunk/config/debug/gdb.in |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-07-22 09:32:27 +00:00
Yann E. MORIN"
67eff1fce1 Using a SOCKS 4/5 proxy is no more EXPERIMENTAL.
/trunk/config/global/download.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-07-19 22:46:44 +00:00
Yann E. MORIN"
2f6bd7b794 Introduce using a LAN mirror for retrieving tarballs.
/trunk/scripts/functions         |   40    36     4     0 ++++++++++++-
 /trunk/config/global/download.in |  146   115    31     0 ++++++++++++++++++++++++++++++++++++----------
 2 files changed, 151 insertions(+), 35 deletions(-)
2008-07-19 22:45:17 +00:00
Yann E. MORIN"
def4ca3905 Move the paths config options before the download options.
/trunk/config/global.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-19 22:39:15 +00:00
Yann E. MORIN"
49f53cc108 Split-up download and extract options into two separate files, because download options are begining to be numerous.
/trunk/config/global/extract.in  |  193     1   192     0 ----------------------------------------------
 /trunk/config/global/download.in |   52     1    51     0 ------------
 /trunk/config/global.in          |    3     2     1     0 +
 3 files changed, 4 insertions(+), 244 deletions(-)
2008-07-19 21:22:58 +00:00
Yann E. MORIN"
907141d953 Add gcc-4.2.4, with patches propagated from 4.2.3.
/trunk/config/cc/gcc.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-07-19 12:17:26 +00:00
Yann E. MORIN"
41c0f214cc Add latest Linux 2.6.26 headers.
/trunk/config/kernel/linux_headers_install.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-07-15 09:57:10 +00:00
Yann E. MORIN"
a1e8fc85c3 Add latest EXPERIMENTAL binutils 2.18.50.0.8.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-07-13 15:25:40 +00:00
Yann E. MORIN"
d7ed189422 Mark gdb-6.8 as being no longer EXPERIMENTAL.
/trunk/config/debug/gdb.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-07-03 08:58:56 +00:00
Yann E. MORIN"
ba93eabd8a Add latest linux kernel 2.6.25.10.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-07-03 08:56:30 +00:00
Yann E. MORIN"
15483af16b Completely move GMP and MPFR files out of the compiler way into their own directory.
/trunk/config/gmp_mpfr.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-30 11:58:58 +00:00
Yann E. MORIN"
a865cf8aeb Re-order architecture specifics.
/trunk/config/target.in |   12     7     5     0 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
2008-06-30 11:33:52 +00:00
Yann E. MORIN"
055681518c Only present each of arch, abi, cpu tune and fpu optimisations for those targets supporting them.
/trunk/config/target.in       |   30    30     0     0 ++++++++++++++++++++++++++++++
 /trunk/arch/arm/config.in     |    5     5     0     0 +++++
 /trunk/arch/powerpc/config.in |    3     3     0     0 +++
 /trunk/arch/alpha/config.in   |    2     2     0     0 ++
 /trunk/arch/x86/config.in     |    3     3     0     0 +++
 /trunk/arch/mips/config.in    |    3     3     0     0 +++
 /trunk/arch/x86_64/config.in  |    3     3     0     0 +++
 7 files changed, 49 insertions(+)
2008-06-27 15:08:43 +00:00
Yann E. MORIN"
62744e84e7 Autogenerate the architecture selection choice menu.
Update architectures definition files accordingly.
Update documentation accordingly.
Use makefile syntax when listing arch/, tools/ and debug/ config files.

 /trunk/kconfig/kconfig.mk     |   32    29     3     0 +++++++++++++++--
 /trunk/docs/overview.txt      |   75    67     8     0 +++++++++++++++++++++++++++++++++++----
 /trunk/config/target.in       |   94    16    78     0 ++++++++-----------------------------------------
 /trunk/arch/arm/config.in     |    6     5     1     0 +++
 /trunk/arch/powerpc/config.in |    2     2     0     0 +
 /trunk/arch/ia64/config.in    |    4     4     0     0 ++
 /trunk/arch/alpha/config.in   |    2     1     1     0
 /trunk/arch/x86/config.in     |    3     3     0     0 ++
 /trunk/arch/mips/config.in    |    5     5     0     0 +++
 /trunk/arch/sh/config.in      |    4     3     1     0 ++
 /trunk/arch/x86_64/config.in  |    3     3     0     0 ++
 11 files changed, 138 insertions(+), 92 deletions(-)
2008-06-27 13:58:53 +00:00
Yann E. MORIN"
501143cea7 Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.

 /trunk/scripts/build/debug/300-gdb.sh |    2     1     1     0 +-
 /trunk/config/debug/gdb.in            |   21    19     2     0 +++++++++++++++++++--
 2 files changed, 20 insertions(+), 3 deletions(-)
2008-06-25 21:56:36 +00:00
Yann E. MORIN"
d5c7eaa0c5 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-06-25 20:56:50 +00:00
Yann E. MORIN"
710b79ab7a Change default path where toolchain will run from to "${HOME}/x-tools/${CT_TARGET}".
/trunk/config/global/paths.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-25 06:24:51 +00:00
Yann E. MORIN"
6180cc0ea5 Allow to store working files outside the build tree (eg. incase the working tree is on the network).
/trunk/scripts/crosstool.sh   |    9     5     4     0 +++++----
 /trunk/config/global/paths.in |   23    22     1     0 ++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 5 deletions(-)
2008-06-24 16:19:45 +00:00
Yann E. MORIN"
1b00a301bd GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

 /trunk/scripts/build/debug/300-gdb.sh |   27    19     8     0 ++++++++++++++++-------
 /trunk/scripts/build/gmp.sh           |   47    39     8     0 ++++++++++++++++++++++++++++++++-------
 /trunk/scripts/build/mpfr.sh          |   49    40     9     0 +++++++++++++++++++++++++++++++++--------
 /trunk/steps.mk                       |    2     2     0     0 ++
 /trunk/config/cc/gcc.in               |   18     1    17     0 +--------------
 /trunk/config/debug/gdb.in            |    6     1     5     0 +----
 /trunk/config/config.in               |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in             |   34    34     0     0 ++++++++++++++++++++++++++++
 8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20 15:16:43 +00:00
Yann E. MORIN"
aec9074b72 Un-mark Socks proxy settings as BROKEN.
/trunk/config/global/download_extract.in |   16     4    12     0 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
2008-06-20 14:00:01 +00:00
Yann E. MORIN"
b4c1d39a2b Don't force building a gdbserver when only native gdb is selected.
/trunk/config/debug/gdb.in            |    1     0     1     0 -
 /trunk/scripts/build/debug/300-gdb.sh |    1     0     1     0 -
 2 files changed, 2 deletions(-)
2008-06-20 09:56:46 +00:00
Yann E. MORIN"
3950f8e87d A bunch of fixes/improvements to the gdb build:
- allow native builds (both shared and static)
 - fix enabling threads
 - better handle the gdbserver case
 - introduce the ncurses library to allow native builds
 - re-order config options adequately

 /trunk/scripts/build/debug/300-gdb.sh |  126    79    47     0 ++++++++++++++++++++++++++---------------
 /trunk/config/debug/gdb.in            |   45    33    12     0 +++++++++++----
 2 files changed, 112 insertions(+), 59 deletions(-)
2008-06-19 15:33:33 +00:00
Yann E. MORIN"
a09a458bb9 Fix building native gdb: download, extract, patch, build and install the ncurses library (that is needed by gdb)
/trunk/scripts/build/debug/300-gdb.sh |   46    42     4     0 +++++++++++++++++++++++++++++++++++++----
 /trunk/config/debug/gdb.in            |   26    25     1     0 ++++++++++++++++++++++-
 2 files changed, 67 insertions(+), 5 deletions(-)
2008-06-18 12:33:32 +00:00
Yann E. MORIN"
1b822b4447 Introduce latest D.U.M.A. version and associated patches rediffed.
/trunk/patches/duma/2_5_14/200-separate_cpp.patch  |   19    19     0     0 +++++++++++++++++
 /trunk/patches/duma/2_5_14/100-cross-compile.patch |   32    32     0     0 ++++++++++++++++++++++++++++
 /trunk/config/debug/duma.in                        |    5     5     0     0 ++++
 3 files changed, 56 insertions(+)
2008-06-17 22:28:17 +00:00
Yann E. MORIN"
aa02a204d9 Add altest linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   16    14     2     0 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
2008-06-17 08:31:57 +00:00
Yann E. MORIN"
5fcaf8b3ff Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.
/trunk/docs/CREDITS                                         |    3     3     0     0 +
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  282   282     0     0 +++++++++++++++++++
 /trunk/config/target.in                                     |    9     9     0     0 +
 /trunk/arch/alpha/functions                                 |    9     9     0     0 +
 /trunk/arch/alpha/config.in                                 |   58    58     0     0 ++++
 5 files changed, 361 insertions(+)
2008-06-14 20:57:57 +00:00
Yann E. MORIN"
b237809704 gcc-4.2.3 works quite well on my targets, now.
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-06-09 16:40:28 +00:00
Yann E. MORIN"
fbe7ce3c5e Add menu entries for gcc-4.3.{0,1} as EXPERIMENTAL features.
/trunk/config/cc/gcc.in |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2008-06-09 16:39:49 +00:00
Yann E. MORIN"
09cfab7cee gcc-4.3.0 and later requires GMP and MPFR.
/trunk/config/cc/gcc.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-09 16:39:15 +00:00
Yann E. MORIN"
ced2cf503a Latest linux version for headers isntall.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-06-09 16:35:53 +00:00