Yann E. MORIN"
ba5a96ad78
Remove the check for absolutely needed tools now ./configure checks for them.
...
Move the check for 'lynx' to where it is needed (that is when sstrip from buildroot is selected).
/trunk/scripts/build/tools/200-sstrip.sh | 1 1 0 0 +
/trunk/scripts/crosstool.sh | 5 0 5 0 -----
2 files changed, 1 insertion(+), 5 deletions(-)
2008-07-17 21:17:19 +00:00
Yann E. MORIN"
78d1209616
Move the check for tsocks' availability just before using tsocks: make it clear we check before we use.
...
Use CT_DoExecLog to validate tsocks configuration.
Don't use gawk, but awk. awk *is* GNU awk, check by ./configure.
/trunk/scripts/crosstool.sh | 9 5 4 0 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
2008-07-16 21:57:12 +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"
aa8a936a1d
Help glibc build by exporting PARALLELMFLAGS.
...
/trunk/scripts/crosstool.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-06-17 11:30:36 +00:00
Yann E. MORIN"
1eaa6e6cbf
Some makeinfo versions are a pain in [somewhere very painful].
...
Work this around with a wrapper that always succeeds, and leave incomplete files in place.
/trunk/scripts/crosstool.sh | 7 7 0 0 +++++++
1 file changed, 7 insertions(+)
2008-06-15 22:02:45 +00:00
Yann E. MORIN"
8dd0e17c51
Use the arch-specific target LDFLAGS into the final target LDFLAGS.
...
Fix a help entry in the CFLAGS_for_target config entry.
/trunk/scripts/crosstool.sh | 4 3 1 0 +++-
/trunk/config/target.in | 2 1 1 0 +-
2 files changed, 4 insertions(+), 2 deletions(-)
2008-05-24 22:38:07 +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"
ec169f9cc7
Fix forcing source extraction.
...
/trunk/scripts/crosstool.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-05-15 20:42:45 +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"
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"
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"
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"
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"
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"
07fa611771
Robet P. J. DAY: typoes.
2008-02-14 22:44:34 +00:00
Yann E. MORIN"
34c2acc77a
Patch from Michael Abbott <michael@araneidae.co.uk> to allow build to work with ancient findutils.
2008-01-28 18:40:31 +00:00
Yann E. MORIN"
8891e25cd6
Do not try to save new;y downloaded tarballs to local storage if the directory does not exist.
2007-09-23 17:18:18 +00:00
Yann E. MORIN"
b1e693e402
Renamed all patches file names so that locales are now irrelevant to sort the files.
...
Removed the locale check as it is now irrelevant.
Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
2007-09-23 17:08:09 +00:00
Yann E. MORIN"
dd9e2b9602
ARM EABI is now working for little endian ARM targets.
...
Big endian is still missing, though...
2007-09-16 17:59:18 +00:00
Yann E. MORIN"
60b7c724bd
Call architecture-specific functions from all scripts needing them.
2007-09-16 08:52:26 +00:00
Yann E. MORIN"
3f09a4d4c6
Further improve the architecture-specific framework.
...
Apply this framework into building of glibc and gcc.
(Whoo! 500th commit! Yeah!)
2007-09-15 21:44:18 +00:00
Yann E. MORIN"
8ed77399de
We don't support Cygwin yet, no point in having quirks in.
2007-09-15 08:40:07 +00:00
Yann E. MORIN"
9501e62afa
Further expand the architecture-specific function: add CT_KERNEL_ARCH building.
2007-09-14 21:50:30 +00:00
Yann E. MORIN"
7b70a704e0
Add the framework to have architecture-specific configuration and functions.
...
API is not yet defined.
2007-09-14 17:43:16 +00:00
Yann E. MORIN"
ae7e017380
Small eye candy fix.
2007-09-14 17:29:39 +00:00
Yann E. MORIN"
09f0dcc66f
Change "triplet" (target triplet) to "tuple". That sounds better!
...
Document overriding the number of // jobs.
Some small documentation fixes.
2007-08-15 16:18:35 +00:00
Yann E. MORIN"
54cca9f2ba
Add the possibility to force the number of // jobs without reconfiguring.
2007-08-15 14:59:37 +00:00
Yann E. MORIN"
e58af8f79e
Get rid of the core cc selection. It is now the same as the final compiler.
2007-08-15 10:14:43 +00:00
Yann E. MORIN"
ab8763bedd
Introduce new config option: CT_TARGET_ALIAS_SED_EXPR
...
This option is used as a sed expression to pass onto CT_TARGET to create an alias.
2007-08-07 19:40:38 +00:00
Yann E. MORIN"
feb0328d7a
Make use of setsid to spawn removal processes: we don't want the rm's to stop if the main script fails and ends before all directories were removed.
2007-08-07 18:05:41 +00:00
Yann E. MORIN"
72caaf7717
Revert previous spurious commit.
2007-08-07 17:08:13 +00:00
Yann E. MORIN"
f1741dc507
Fix the Makefile.in to correctly remove generated documentation.
2007-08-07 17:07:39 +00:00
Yann E. MORIN"
7131764f9c
Remove any reference to libfloat. That has gone once and for all.
...
Rationale:
Most of the time, soft-float problems are caused by this sucker of gcc:
it has support for soft float for all of the targets I've tried so far,
but does not activate this code until you dwelve into half a dozen of
files to make it accept to build and link the support code...
So, yes: gcc has soft-float support. And again, yes: gcc is a sucker.
2007-07-30 20:02:13 +00:00
Yann E. MORIN"
a69e51dc7c
MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
2007-07-23 19:49:35 +00:00
Yann E. MORIN"
3f4ac101f2
When isntalling aliases, send symlinks creation to CT_DEBUG log level.
2007-07-17 21:41:39 +00:00
Yann E. MORIN"
1a32a0fbbc
Remove the symlinks to the build/host tools earlier.
2007-07-17 21:38:35 +00:00
Yann E. MORIN"
75fdf70a6c
Print a message when installing populate.
2007-07-14 13:09:51 +00:00
Yann E. MORIN"
7eeab77560
Add a test for lynx (needed to download sstrip.c from buildroot).
2007-07-13 10:26:30 +00:00
Yann E. MORIN"
1f16f7a6f7
Add a utility to populate a root directory with libraries from the toolchain.
2007-07-08 17:44:59 +00:00
Yann E. MORIN"
674ee531e6
Silence "which" being verbose in some distros. (eg. Mandriva's which spawns "foobar was not found in /bin:/usr/bin:...." directly on stderr)
2007-07-07 09:58:14 +00:00
Yann E. MORIN"
9265403b8b
Get rid of eclipse fiels once and for all.
...
Homogenise the references to crosstool-NG:
- the project is named "crosstool-NG"
- the front-end is named "ct-ng"
- don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG")
Default action is to print help.
Don't speak of make rules when dumping help, just speak of actions.
2007-07-02 19:40:54 +00:00
Yann E. MORIN"
26713d4210
Merge the build system to trunk: ct-ng is now installable:
...
- ./configure --prefix=/some/place
- make
- make install
- export PATH="${PATH}:/some/place/bin"
- ct-ng <action>
2007-07-01 19:04:20 +00:00
Yann E. MORIN"
7746415b7d
The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
...
Add an option to compress the log file upon successfull build.
Make rendering the toolchain read-only optional.
A few eye-candy fixes.
2007-06-17 14:51:37 +00:00
Yann E. MORIN"
5e07f7cfc3
scripts/functions is responsible for initiating the log file.
...
Users of the log facility are in charge to use, move, delete this log file, now.
2007-06-16 22:23:53 +00:00
Yann E. MORIN"
c3badb0b8a
Be a little more explicit when the user wants to restart a non-restartable build.
2007-06-02 15:50:45 +00:00
Yann E. MORIN"
88b6a540e3
Revert revision 201: renaming the two cc_core passes was a bad idea.
2007-06-02 08:13:13 +00:00
Yann E. MORIN"
4d84cd7db1
Rename two steps to their real names:
...
- cc_core_pass_1 is really cc_core_static,
- cc_core_pass_2 is really cc_core_shared.
2007-06-01 20:06:22 +00:00