Commit Graph

1136 Commits

Author SHA1 Message Date
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
Yann E. MORIN"
b44e4e652a Fix using HTTP proxy.
/trunk/scripts/crosstool.sh              |    9     5     4     0 +++++----
 /trunk/config/global/download_extract.in |    2     1     1     0 +-
 2 files changed, 6 insertions(+), 5 deletions(-)
2008-04-18 08:41:30 +00:00
Yann E. MORIN"
135a104338 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   17    17     0     0 +++++++++++++++++
 1 file changed, 17 insertions(+)
2008-04-17 21:07:01 +00:00
Yann E. MORIN"
2237fab536 Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

 /trunk/tools/addToolVersion.sh |   26    13    13     0 +++++++++++++-------------
 /trunk/config/kernel/linux.in  |    6     3     3     0 +++---
 /trunk/config/kernel.in        |    2     1     1     0 +-
 /trunk/config/cc.in            |    2     1     1     0 +-
 /trunk/config/libc.in          |    4     2     2     0 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17 21:04:23 +00:00
Yann E. MORIN"
8f74ada733 Re-order the target sub-menu, so that architectures are alphabetically ordered.
${prefix}/config/target.in |   12     6     6     0 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2008-04-17 20:51:26 +00:00
Yann E. MORIN"
dd862bd7a4 Move config files around, and clean up the mess in the config/ directory.
config/kernel/kernel_linux.in            |   12     6     6     0 +-
 config/paths.in                          |   89     0    89     0 ----------------
 config/kernel_linux_headers_install.in   |  168     0   168     0 ------------------------------
 config/kernel.in                         |    2     1     1     0
 config/kernel_linux_headers_copy.in      |   42     0    42     0 --------
 config/cc.in                             |    2     1     1     0
 config/logging.in                        |  110     0   110     0 --------------------
 config/build-behave.in                   |   45     0    45     0 --------
 config/libc_uClibc.in                    |  101     0   101     0 ------------------
 config/kernel_linux_headers_sanitised.in |   62     0    62     0 -----------
 config/ct-behave.in                      |   82     0    82     0 ---------------
 config/kernel_linux.in                   |  134     0   134     0 ------------------------
 config/global.in                         |   10     5     5     0 +-
 config/download_extract.in               |  171     0   171     0 -------------------------------
 config/cc_gcc.in                         |  130     0   130     0 ------------------------
 config/libc_glibc.in                     |  124     0   124     0 ----------------------
 config/libc.in                           |    4     2     2     0
 17 files changed, 15 insertions(+), 1273 deletions(-)
2008-04-17 20:26:25 +00:00
Yann E. MORIN"
e53b2f3cbd Break-down config/global.in into smaller, much more maintainable files.
config/paths.in |  419     1   418     0 --------------------------------------------------------
 1 file changed, 1 insertion(+), 418 deletions(-)
2008-04-17 20:02:07 +00:00
Yann E. MORIN"
fe5dc3db26 Cleanup building the snapshot version number.
configure |   18    10     8     0 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
2008-04-17 19:21:32 +00:00
Yann E. MORIN"
301d9c8d57 Commit a long-standing eye-dcandy change in a log, that got lost in a vi crash...
scripts/build/tools/sstrip.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-04-17 19:16:17 +00:00
Yann E. MORIN"
9e9d061e01 Add an option to use a SOCKS 4/5 proxy to connect to the internet.
As for the HTTP proxy, this is completetly untested, as I have no such proxy at home.

 scripts/crosstool.sh |   45    31    14     0 +++++++++++++++++--------
 config/global.in     |   95    81    14     0 +++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 112 insertions(+), 28 deletions(-)
2008-04-17 18:07:26 +00:00
Yann E. MORIN"
0b89b1a938 Allow using an HTTP proxy to tunnel FTP and HTTP requests.
scripts/crosstool.sh |   14    14     0     0 +++++++++++++
 config/global.in     |   54    54     0     0 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
2008-04-13 22:46:02 +00:00
Yann E. MORIN"
2dffee230a Fix a comment.
functions |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-04-13 18:25:30 +00:00
Yann E. MORIN"
b3841f0aa9 Matthias Kaehlcke <matthias@kaehlcke.net> reported hanged downloads on his
network, most probably due to proxies. Have downloaders (wget and curl)
timeout on too slow connections (they don't by default).

 scripts/functions |   17    12     5     0 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
2008-04-13 18:16:58 +00:00
Yann E. MORIN"
524ec3d73d Update patch to gdb. Thanks Khem RAJ <kraj@mvista.com>
patches/gdb/6.5/500-thread-timeout.patch |   13     6     7     0 ++++++-------
 docs/CREDITS                             |    3     3     0     0 +++
 2 files changed, 9 insertions(+), 7 deletions(-)
2008-04-13 18:03:28 +00:00
Yann E. MORIN"
5ff9c06cf3 - Rewrite some parts of history: some sentences could have been considered rude, which was not my intention.
- Fix a few typoes at the same time.
2008-02-20 22:48:35 +00:00
Robert P. J. DAY"
6399c577d5 Fix some obvious typoes in docs/overview.txt 2008-02-20 08:01:12 +00:00