Commit Graph

133 Commits

Author SHA1 Message Date
Yann E. MORIN"
0b499187a2 Fix CT_DoExecLog usage when building GMP for target.
/trunk/scripts/build/gmp.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-07-14 21:21:35 +00:00
Yann E. MORIN"
4a03de30df Advertise using CT_DoExecLog in the tools and debug templates.
/trunk/scripts/build/tools/000-template.sh |    5     3     2     0 +++--
 /trunk/scripts/build/debug/000-template.sh |    5     3     2     0 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
2008-07-14 16:04:41 +00:00
Yann E. MORIN"
223231bcc3 Use CT_DoExecLog when building libelf.
/trunk/scripts/build/tools/100-libelf.sh |    7     4     3     0 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
2008-07-14 15:58:39 +00:00
Yann E. MORIN"
549ef5d740 Use CT_DoExecLog when building gcc.
/trunk/scripts/build/cc_gcc.sh |   55    27    28     0 ++++++++++++++++++++++++------------------------
 1 file changed, 27 insertions(+), 28 deletions(-)
2008-07-14 15:56:57 +00:00
Yann E. MORIN"
00084df12b Use CT_DoExecLog when building uClibc.
/trunk/scripts/build/libc_uClibc.sh |   19    11     8     0 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
2008-07-14 15:48:51 +00:00
Yann E. MORIN"
972fdecb11 Fix CT_DoExecLog usage when building binutils' libraries for target.
/trunk/scripts/build/binutils.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-14 15:42:27 +00:00
Yann E. MORIN"
212f6fffff Use CT_DoExecLog in binutils build.
/trunk/scripts/build/binutils.sh |   16     9     7     0 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
2008-07-14 15:27:20 +00:00
Yann E. MORIN"
dd5a5f683e Use CT_DoExecLog for MPFR build.
/trunk/scripts/build/mpfr.sh |   48    25    23     0 +++++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 23 deletions(-)
2008-07-14 15:15:40 +00:00
Yann E. MORIN"
f235889bde Use CT_DoExecLog for GMP build.
/trunk/scripts/build/gmp.sh |   12     7     5     0 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
2008-07-14 13:55:30 +00:00
Yann E. MORIN"
8c214615b0 Use CT_DoExecLog for Linux headers install.
/trunk/scripts/build/kernel_linux.sh |    6     4     2     0 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-14 13:51:45 +00:00
Yann E. MORIN"
6e49891565 Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.

 /trunk/scripts/build/binutils.sh      |    2     1     1     0 +-
 /trunk/scripts/build/debug/300-gdb.sh |    2     1     1     0 +-
 /trunk/scripts/build/cc_gcc.sh        |    6     3     3     0 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
2008-07-13 10:32:38 +00:00
Yann E. MORIN"
22bd5ce4ca Although working with bash, 'echo -n' is really non-portable.
Get rid of this by using printf(1) with no trailing new-line (\n).
Again, thanks to Martin GUY, who pointed this issue.

 /trunk/kconfig/kconfig.mk           |    2     1     1     0
 /trunk/scripts/build/libc_uClibc.sh |    4     3     1     0 ++
 /trunk/scripts/showSamples.sh       |   78    39    39     0 +++++++++++++++++++++---------------------
 3 files changed, 43 insertions(+), 41 deletions(-)
2008-07-07 21:25:57 +00:00
Yann E. MORIN"
08ca782e76 Newer, better, tsocks(1)-like wrapper script for D.U.M.A.
/trunk/scripts/build/debug/duma.in     |   44    44     0     0 ++++++++++++++++++++++++++++++++++++++++
 /trunk/scripts/build/debug/200-duma.sh |   12     3     9     0 +++--------
 2 files changed, 47 insertions(+), 9 deletions(-)
2008-06-30 20:37:14 +00:00
Yann E. MORIN"
e42f966f36 Native gcc is picky about the CC and LD variables. Set them unconditionally, whether building static or not.
/trunk/scripts/build/debug/300-gdb.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-27 11:18:56 +00:00
Yann E. MORIN"
0f8a47d75c Do al ittle bit more jobs in parallel while building gcc.
/trunk/scripts/build/cc_gcc.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-27 11:18:02 +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"
bf27958b7d Don't build ncurses ADA bindings if an ADA x-compiler was not built.
/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-24 15:44:55 +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"
8f0f8a170a Really don't re-build MPFR autotools files at each run.
/trunk/scripts/build/debug/300-gdb.sh |    8     6     2     0 ++++++--
 /trunk/scripts/build/mpfr.sh          |   10     7     3     0 +++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)
2008-06-20 10:58:45 +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"
631ad148a2 Only rebuild MPFR config files at extract time, not for every builds.
/trunk/scripts/build/mpfr.sh |   15     7     8     0 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
2008-06-20 09:17:06 +00:00
Yann E. MORIN"
59eaaed971 Realy fix building MPFR.
/trunk/scripts/build/mpfr.sh |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-06-20 07:44:14 +00:00
Yann E. MORIN"
45117f345b Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!
/trunk/scripts/build/mpfr.sh |   11    11     0     0 +++++++++++
 1 file changed, 11 insertions(+)
2008-06-19 21:54:57 +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"
94ce4c79f9 Fix building D.U.M.A. when C++ is not configured.
/trunk/scripts/build/debug/200-duma.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-19 15:30:01 +00:00
Yann E. MORIN"
21f8f48369 Build a C++ friendly uClibc.
/trunk/scripts/build/libc_uClibc.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-19 08:17:39 +00:00
Yann E. MORIN"
c66afdc69e When building uClibc, always build the libpthread_db.
/trunk/scripts/build/libc_uClibc.sh |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-06-19 08:14:52 +00:00
Yann E. MORIN"
a8bfc05f9f Help ncurses to install properly.
/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-18 14:16:01 +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"
b9640aeaab Fix building D.U.M.A:
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0
 - don't build the libraries multiple times, do it in one pass
 - install a custom LD_PRELOAD wrapper

 /trunk/scripts/build/debug/200-duma.sh |   54    33    21     0 +++++++++++++++++++++++++++++++++---------------------
 1 file changed, 33 insertions(+), 21 deletions(-)
2008-06-17 22:26:44 +00:00
Yann E. MORIN"
ee45ae9574 Change the log level of a core gcc build message (headers copy), from EXTRA to DEBUG.
/trunk/scripts/build/cc_gcc.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-17 11:22:23 +00:00
Yann E. MORIN"
d48ade3ec8 Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.
/trunk/scripts/build/cc_gcc.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-06-15 20:51:37 +00:00
Yann E. MORIN"
929c368541 Add support for the up-coming gcc-4.3.
Two new config options: pkgversion and bugurl.

 /trunk/scripts/build/cc_gcc.sh |    4     3     1     0 +++-
 /trunk/tools/addToolVersion.sh |   20    16     4     0 ++++++++++++++++----
 /trunk/config/cc/gcc.in        |   24    24     0     0 ++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 5 deletions(-)
2008-06-09 16:14:23 +00:00
Yann E. MORIN"
832d6ba314 Fix building big-endian ARM EABI toolchains (build-tested only).
Patch highly inspired by the one from OpenWRT (http://openwrt.org/)

 /trunk/patches/gcc/4.2.3/930-eabi_fixes.patch |   13    13     0     0 +++++++++++++
 /trunk/scripts/build/cc_gcc.sh                |    6     4     2     0 ++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
2008-05-25 22:10:32 +00:00
Yann E. MORIN"
5ad450e403 Multilib is gone, so don't use it when building gcc.
/trunk/scripts/build/cc_gcc.sh |    6     1     5     0 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
2008-05-24 22:49:54 +00:00
Yann E. MORIN"
c68aacb799 Improve handling of __cxa_atexit by Arnaud Vrac <rawoul at zogzog dot org>.
/trunk/scripts/build/cc_gcc.sh |   18    15     3     0 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
2008-05-22 22:38:37 +00:00
Yann E. MORIN"
6bf2896c4e Build an MPFR library that is thread-safe (I don't know if either binutils or gcc are threaded themselves).
/trunk/scripts/build/mpfr.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-05-21 21:52:31 +00:00
Yann E. MORIN"
0c4633c37f Get rid of all command (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.

 /trunk/scripts/build/tools/200-sstrip.sh  |   16     8     8     0 ++--
 /trunk/scripts/build/libc_glibc.sh        |   50    25    25     0 +++++++-------
 /trunk/scripts/build/libc_uClibc.sh       |    4     2     2     0
 /trunk/scripts/build/debug/100-dmalloc.sh |    2     1     1     0
 /trunk/scripts/build/debug/400-ltrace.sh  |    2     1     1     0
 /trunk/scripts/build/debug/300-gdb.sh     |    8     4     4     0 +-
 /trunk/scripts/build/debug/200-duma.sh    |    6     3     3     0 +-
 /trunk/scripts/build/kernel_linux.sh      |   30    15    15     0 ++++----
 /trunk/scripts/build/cc_gcc.sh            |   14     7     7     0 ++--
 /trunk/scripts/crosstool.sh               |   54    27    27     0 ++++++++--------
 /trunk/scripts/functions                  |  128    64    64     0 ++++++++++++++++++------------------
 /trunk/scripts/saveSample.sh              |    4     2     2     0
 /trunk/scripts/tarball.sh.broken          |   20    10    10     0 +++---
 /trunk/tools/addToolVersion.sh            |    8     4     4     0 +-
 /trunk/tools/populate.in                  |   18     9     9     0 ++--
 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-20 21:32:39 +00:00
Yann E. MORIN"
62c87c5adf In the future, we'll be able to download /old/ MPFR versions.
/trunk/scripts/build/mpfr.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-05-19 21:41:19 +00:00
Yann E. MORIN"
cfdbd995e2 Better configure binutils, both for host and target.
/trunk/scripts/build/binutils.sh |   23    15     8     0 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)
2008-05-14 17:58:07 +00:00
Yann E. MORIN"
4ebe15e6b4 Sanitise and use CT_CC_NATIVE.
Comment inclusion of scripts/functions.

 /trunk/scripts/build/cc_gcc.sh |    6     6     0     0 ++++++
 /trunk/scripts/crosstool.sh    |    7     6     1     0 ++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
2008-05-14 17:56:33 +00:00
Yann E. MORIN"
5e2851a219 Introduce a new option to render (or not) uClibc' build verbose.
/trunk/scripts/build/libc_uClibc.sh |    6     4     2     0 ++++--
 /trunk/config/libc/uClibc.in        |   23    23     0     0 +++++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)
2008-05-14 17:52:53 +00:00
Yann E. MORIN"
edbd3bee45 Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file.
Correctly unset float CFLAGS and configure arguments before setting them.

 /trunk/scripts/build/libc_uClibc.sh |    4     2     2     0 ++--
 /trunk/scripts/functions            |    4     2     2     0 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-14 17:39:18 +00:00
Yann E. MORIN"
e086c89afe Improve a comment in code.
/trunk/scripts/build/libc_glibc.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-05-11 12:53:37 +00:00
Yann E. MORIN"
1b9a490601 Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover.
There's no solution for those sites that do not have such an http equivalent.

 /trunk/scripts/build/binutils.sh         |    5     2     3     0 ++---
 /trunk/scripts/build/libc_glibc.sh       |    4     2     2     0 ++--
 /trunk/scripts/build/libc_uClibc.sh      |    2     1     1     0 +-
 /trunk/scripts/build/debug/400-ltrace.sh |    2     1     1     0 +-
 /trunk/scripts/build/debug/300-gdb.sh    |    8     3     5     0 +++-----
 /trunk/scripts/build/kernel_linux.sh     |    7     2     5     0 ++-----
 /trunk/scripts/build/cc_gcc.sh           |    6     2     4     0 ++----
 /trunk/scripts/build/gmp.sh              |    4     1     3     0 +---
 8 files changed, 14 insertions(+), 24 deletions(-)
2008-05-03 17:51:16 +00:00
Yann E. MORIN"
a056fa7341 Fix tools.sh and debug.sh now the tools/ and debug/ sub-dirs are numerically sorted.
/trunk/scripts/build/debug.sh |    4     2     2     0 ++--
 /trunk/scripts/build/tools.sh |    4     2     2     0 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-03 09:53:49 +00:00
Yann E. MORIN"
1dc26cbbcd Fix testing glibc versions for -pipe.
/trunk/scripts/build/libc_glibc.sh |    6     4     2     0 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2008-05-02 22:47:43 +00:00
Yann E. MORIN"
3d8a1efd05 Comment more a mis-leading comment in the glibc build procedure.
/trunk/scripts/build/libc_glibc.sh |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-05-02 22:21:43 +00:00
Yann E. MORIN"
ff1d30c4a3 For tools/ and debug/ build scripts, annd a numeric prefix, so that they always get built in the same order, in case of library dependencies.
/trunk/scripts/build/debug.sh |    2     1     1     0 +-
 /trunk/scripts/build/tools.sh |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-05-02 21:59:14 +00:00
Yann E. MORIN"
886c3e7c8b Do not try to download, extract, or build GMP and MPFR if not asked for.
/trunk/scripts/build/gmp.sh  |   12    11     1     0 +++++++++++-
 /trunk/scripts/build/mpfr.sh |   11    11     0     0 +++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
2008-04-30 16:38:06 +00:00