Commit Graph

3701 Commits

Author SHA1 Message Date
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"
0dad6065a6 Export endianness CFLAGS.
Fix endianness CFLAGS for MIPS.

 /trunk/scripts/functions   |    1     1     0     0 +
 /trunk/arch/mips/functions |    6     6     0     0 ++++++
 2 files changed, 7 insertions(+)
2008-05-14 17:49:52 +00:00
Yann E. MORIN"
c15c2e6978 Vampirise three new patches for uClibc, coming from buildroot.
/trunk/patches/uClibc/0.9.29/600-filter-gnu99-from-assembly-flags.patch |   12    12     0     0 +
 /trunk/patches/uClibc/0.9.29/800-rm-whitespace.patch                    |   86    86     0     0 ++++++
 /trunk/patches/uClibc/0.9.29/700-linuxthreads.patch                     |  145   145     0     0 ++++++++++
 3 files changed, 243 insertions(+)
2008-05-14 17:40:28 +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"
797a7537e4 Add a patch to the ageing glibc-2.3.6 to make it compile on stupid shells that have a defective implementation of echo.
Thanks to Willy Tarreau for pointing to the patch.

 /trunk/patches/glibc/2.3.6/250-csu-Makefile.patch |   39    39     0     0 +++++++++++++++++++++++++++++
 /trunk/docs/CREDITS                               |    4     4     0     0 +++
 2 files changed, 43 insertions(+)
2008-05-11 07:01:28 +00:00
Yann E. MORIN"
f89415dd83 Update tools/config.{guess,sub}.
/trunk/tools/config.guess |   38    24    14     0 ++++++++++++++++++++-----------
 /trunk/tools/config.sub   |   65    54    11     0 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 78 insertions(+), 25 deletions(-)
2008-05-08 15:37:21 +00:00
Yann E. MORIN"
15e06b96ef Update the URLs where to retrieve config.guess and config.sub from.
/trunk/tools/tools.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-08 15:36:51 +00:00
Yann E. MORIN"
770bed1f53 Add a new option to set connection timeout while downloading.
/trunk/scripts/functions                 |   16     8     8     0 ++++++++--------
 /trunk/config/global/download_extract.in |   25    25     0     0 +++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 8 deletions(-)
2008-05-06 20:30:49 +00:00
Yann E. MORIN"
281eb72542 Bump up version to 1.1.0+svn.
/trunk/.version |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-04 10:46:32 +00:00
Yann E. MORIN"
bf8ca982fe Bump version number to 1.0.0.
/trunk/.version |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-04 10:44:57 +00:00
Yann E. MORIN"
14bc57f904 Update samples to latest set of options.
Update components up to the latest working version.
Update the set of supported languages for each sample.

 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config      |   42    14    28     0 ++----
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config       |  107    62    45     0 ++++++++------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   42    14    28     0 ++----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config          |   79    43    36     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |   42    13    29     0 +-----
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config     |  112    65    47     0 +++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |   42    14    28     0 ++----
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config         |   44    15    29     0 ++----
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config             |   44    15    29     0 ++----
 9 files changed, 255 insertions(+), 299 deletions(-)
2008-05-04 10:44:07 +00:00
Yann E. MORIN"
41c32c8b2b One-liner to fix default proxy config.
/trunk/config/global/download_extract.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-03 17:56:40 +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"
266acfa496 As a bonus, the i686-nptl-linux-gnu can build Fortrn and Java!
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-03 17:01:35 +00:00
Yann E. MORIN"
8b2cdf0f4e This one was hard to build. At least a combination taht works.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |  114    73    41     0 +++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 73 insertions(+), 41 deletions(-)
2008-05-03 16:57:23 +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"
89aca6f995 Update those samples to latest config options.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |  115    76    39     0 +++++++++++++------
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config      |  114    73    41     0 +++++++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |  116    74    42     0 ++++++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |  141    98    43     0 ++++++++++++++++-------
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config         |  120    76    44     0 +++++++++++++-------
 5 files changed, 397 insertions(+), 209 deletions(-)
2008-05-02 22:02:42 +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"
fdb7c1e75d Add latest linux kernel versions.
Remove old ones, keeping only the latest 'Y' in each 2.6.X.Y series.

 /trunk/config/kernel/linux_headers_install.in |  129    26   103     0 +++++++--------------------------
 1 file changed, 26 insertions(+), 103 deletions(-)
2008-05-02 21:55:57 +00:00
Yann E. MORIN"
3b8580605b Add latest, untested gdb versions
/trunk/config/debug/gdb.in |   18    18     0     0 ++++++++++++++++++
 1 file changed, 18 insertions(+)
2008-05-02 21:54:46 +00:00
Yann E. MORIN"
f29a7d4335 Better explain why populate exists.
New entry for how to add a new component version.
Some homogeneisation in style.

 /trunk/docs/overview.txt |   44    30    14     0 ++++++++++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 14 deletions(-)
2008-05-02 21:53:09 +00:00
Yann E. MORIN"
5b3e2c8fd8 Remove some EXPERIMENTAL binutils versions, I do not have time to create associated patches.
/trunk/patches/binutils/2.18.50.0.4/200-ld-makefile-path.patch       |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch      |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/300-check-ldrunpath-length.patch |   26    26     0     0 +++++++++
 /trunk/patches/binutils/2.18.50.0.6/200-ld-makefile-path.patch       |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch      |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/300-check-ldrunpath-length.patch |   26    26     0     0 +++++++++
 /trunk/config/binutils.in                                            |   24     0    24     0 --------
 7 files changed, 172 insertions(+), 24 deletions(-)
2008-05-02 21:51:14 +00:00
Yann E. MORIN"
8739aa7574 Add a new help entry to list each samples more verbosely, but only on-demand.
/trunk/samples/samples.mk     |    4     4     0     0 ++++
 /trunk/scripts/showSamples.sh |   32    31     1     0 +++++++++++++++++++++++++++++++-
 2 files changed, 35 insertions(+), 1 deletion(-)
2008-05-02 21:49:43 +00:00
Yann E. MORIN"
bf3d5df0ff Eye-candy in the addToolVersion.sh script.
/trunk/tools/addToolVersion.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-02 17:49:29 +00:00
Yann E. MORIN"
d4eaeab63a Update known issues with dmalloc failure.
/trunk/docs/known-issues.txt |   15    14     1     0 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
2008-05-02 16:48:01 +00:00
Yann E. MORIN"
9b41035164 Remove unused glibc patches. 2008-05-02 08:41:38 +00:00
Yann E. MORIN"
829aa3598f Rebuild generated files if re-configured.
/trunk/Makefile.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-01 19:47:25 +00:00
Yann E. MORIN"
3d96f4fb51 Add a file documenting known issues.
/trunk/docs/known-issues.txt |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-04-30 16:58:23 +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
Yann E. MORIN"
396e68116c Remove obsolete MPFR version, as it is no longer available for download.
/trunk/config/cc/mpfr.in |    5     0     5     0 -----
 1 file changed, 5 deletions(-)
2008-04-30 10:47:49 +00:00
Yann E. MORIN"
86c54d8079 Merge the fortran stuff to trunk now it works!
Fortran is not supported for all targets, though. ARM at least does not work.

 /trunk/scripts/build/binutils.sh |    8     8     0     0 ++++++++
 /trunk/scripts/build/cc_gcc.sh   |   11     6     5     0 ++++++-----
 /trunk/scripts/crosstool.sh      |   10     9     1     0 +++++++++-
 /trunk/tools/addToolVersion.sh   |    3     3     0     0 +++
 /trunk/steps.mk                  |    2     2     0     0 ++
 /trunk/config/cc/gcc.in          |   16    16     0     0 ++++++++++++++++
 6 files changed, 44 insertions(+), 6 deletions(-)
2008-04-30 10:43:41 +00:00
Yann E. MORIN"
dacd159a98 Build both shared and static versions of binutils' libraries for target.
/trunk/scripts/build/binutils.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-04-28 09:27:21 +00:00
Yann E. MORIN"
c94ed734c1 Add latest binutils snapshots.
/trunk/config/binutils.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-04-28 08:55:33 +00:00
Yann E. MORIN"
7bb4d0d9ca Do not forget binutils' target libraries in the list.
/trunk/scripts/build/binutils.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-04-28 08:55:00 +00:00
Yann E. MORIN"
f75ab94105 Be alittle less verbose in the core CC pass 1 & 2.
/trunk/scripts/build/cc_gcc.sh |    5     0     5     0 -----
 1 file changed, 5 deletions(-)
2008-04-28 07:44:22 +00:00
Yann E. MORIN"
daa31a0c34 Building target libraries before the cross-compiler is available is doomed! Move build binutils' target libraries after final gcc.
Have a unique list of steps, it's easier to maintain.

 /trunk/scripts/build/binutils.sh |    8     5     3     0 +++++---
 /trunk/scripts/crosstool.sh      |   16     2    14     0 ++--------------
 /trunk/steps.mk                  |   29    16    13     0 ++++++++++++++++-------------
 3 files changed, 23 insertions(+), 30 deletions(-)
2008-04-28 07:38:36 +00:00
Yann E. MORIN"
8b0663d59f Eye candy in the binutils config menu.
/trunk/config/binutils.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-04-27 16:20:57 +00:00
Yann E. MORIN"
808cd14118 Adds contrib patch to support the OpenRISK or1k.
/trunk/contrib/openrisc-or32.patch.lzma | 2578  2578     0     0 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 2578 insertions(+)
2008-04-27 15:30:39 +00:00
Yann E. MORIN"
f4012a128e Add building some binutils libraries for the target, as some utilities might need them.
/trunk/scripts/build/binutils.sh |   32    32     0     0 ++++++++++++++++++++++++++++++++
 /trunk/config/binutils.in        |   22    22     0     0 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
2008-04-27 15:08:15 +00:00
Yann E. MORIN"
8a6d956634 Offer an option to build a static cross-gdb.
/trunk/scripts/build/debug/gdb.sh |    9     9     0     0 +++++++++
 /trunk/config/debug/gdb.in        |    9     9     0     0 +++++++++
 2 files changed, 18 insertions(+)
2008-04-27 10:25:02 +00:00
Yann E. MORIN"
4e3f85be75 Document the contrib/ sub-directory.
Fixed the documentation for the arch-dpecific 'CT_DoArchValues' function.

 /trunk/docs/overview.txt |   20    13     7     0 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
2008-04-27 09:57:50 +00:00
Yann E. MORIN"
2802a7d929 Add a directory to store contributed stuff.
It will server to hold unmerged stuff.
2008-04-27 09:46:26 +00:00
Yann E. MORIN"
e6ca02b829 Configure tsocks with a simple heuristic.
Consider the proxy has to be in a 'local' network. It means it is directly
reachable by the local machine, even if the local machine has to hop through
one or more gates to reach the proxy (often the case in enterprise networks
where class A 10.0.0.0/8 is in fact sub-divided into smaller networks, each
one of them in a different location, eg. 10.1.0.0/16 in a place, while
10.2.0.0/16 would be on the other side of the world). Not being in the same
subnet does not mean the proxy is not available.

So we will build a mask with at most high bits set, which defines a network
that has both the local machine and the proxy. Because a machine may have
more than one interface, build a mask for each of them, removing 127.0.0.1
which is added automagically by tsocks, and removing duplicate masks.

If all of this does not work, then it means the local machine can NOT in fact
reach the proxy, which in turn means the user mis-configured something (most
probably a typo...).

 /trunk/scripts/crosstool.sh |   61    52     9     0 +++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 52 insertions(+), 9 deletions(-)
2008-04-26 21:31:05 +00:00
Yann E. MORIN"
08f2c57f96 Tss.... I was bieng real stupid while building up the tsocks.conf file. Implement a much simpler way.
/trunk/scripts/crosstool.sh |   27     5    22     0 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)
2008-04-20 18:04:20 +00:00
Yann E. MORIN"
6e611c2e75 Try to make clear that SOCKS proxying is currently BROKEN.
/trunk/config/global/download_extract.in |   36    19    17     0 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)
2008-04-20 16:46:17 +00:00
Yann E. MORIN"
59ed1ed600 Using SOCKS 4/5 proxy is no easy task:
- a machine may well be able to reach the proxy, even if it is not on the same sub-net(s) as the machine itself (absolutely legitimate)
 - tsocks.conf needs a list of so-called 'local' networks that can be reached without the need for a SOCKS connection
 - SOCKS proxies are expected to be in 'local' networks
 - there is absolutely NO way to tell what networks are local, besides the sub-net(s) the machine is in

Therefore, appropriate configuration of SOCKS 4/5 configuration is really complex, and attempts to correctly overcome this issue are doomed.

 /trunk/scripts/crosstool.sh              |   52    46     6     0 ++++++++++++++++++++++++++++++++++----
 /trunk/config/global/download_extract.in |   39    31     8     0 +++++++++++++++++++++++------
 2 files changed, 77 insertions(+), 14 deletions(-)
2008-04-18 22:16:28 +00:00