summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
AgeCommit message (Collapse)AuthorFilesLines
2008-07-17Remove the check for absolutely needed tools now ./configure checks for them.Yann E. MORIN"1-5/+0
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-16Move the check for tsocks' availability just before using tsocks: make it ↵Yann E. MORIN"1-4/+5
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-06-24Allow to store working files outside the build tree (eg. incase the working ↵Yann E. MORIN"1-4/+5
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-17Help glibc build by exporting PARALLELMFLAGS.Yann E. MORIN"1-0/+1
/trunk/scripts/crosstool.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-06-15Some makeinfo versions are a pain in [somewhere very painful].Yann E. MORIN"1-0/+7
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-05-24Use the arch-specific target LDFLAGS into the final target LDFLAGS.Yann E. MORIN"1-1/+3
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-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"1-27/+27
$(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-15Fix forcing source extraction.Yann E. MORIN"1-2/+3
/trunk/scripts/crosstool.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-05-14Sanitise and use CT_CC_NATIVE.Yann E. MORIN"1-1/+6
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-04-30Merge the fortran stuff to trunk now it works!Yann E. MORIN"1-1/+9
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-28Building target libraries before the cross-compiler is available is doomed! ↵Yann E. MORIN"1-14/+2
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-26Configure tsocks with a simple heuristic.Yann E. MORIN"1-9/+52
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-20Tss.... I was bieng real stupid while building up the tsocks.conf file. ↵Yann E. MORIN"1-22/+5
Implement a much simpler way. /trunk/scripts/crosstool.sh | 27 5 22 0 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-)
2008-04-18Using SOCKS 4/5 proxy is no easy task:Yann E. MORIN"1-6/+46
- 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-18Fix using HTTP proxy.Yann E. MORIN"1-4/+5
/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-17Add an option to use a SOCKS 4/5 proxy to connect to the internet.Yann E. MORIN"1-14/+31
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-13Allow using an HTTP proxy to tunnel FTP and HTTP requests.Yann E. MORIN"1-0/+14
scripts/crosstool.sh | 14 14 0 0 +++++++++++++ config/global.in | 54 54 0 0 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)
2008-02-14Robet P. J. DAY: typoes.Yann E. MORIN"1-2/+2
2008-01-28Patch from Michael Abbott <michael@araneidae.co.uk> to allow build to work ↵Yann E. MORIN"1-3/+3
with ancient findutils.
2007-09-23Do not try to save new;y downloaded tarballs to local storage if the ↵Yann E. MORIN"1-1/+7
directory does not exist.
2007-09-23Renamed all patches file names so that locales are now irrelevant to sort ↵Yann E. MORIN"1-16/+0
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-16ARM EABI is now working for little endian ARM targets.Yann E. MORIN"1-1/+5
Big endian is still missing, though...
2007-09-16Call architecture-specific functions from all scripts needing them.Yann E. MORIN"1-1/+1
2007-09-15Further improve the architecture-specific framework.Yann E. MORIN"1-7/+0
Apply this framework into building of glibc and gcc. (Whoo! 500th commit! Yeah!)
2007-09-15We don't support Cygwin yet, no point in having quirks in.Yann E. MORIN"1-3/+0
2007-09-14Further expand the architecture-specific function: add CT_KERNEL_ARCH building.Yann E. MORIN"1-7/+0
2007-09-14Add the framework to have architecture-specific configuration and functions.Yann E. MORIN"1-0/+3
API is not yet defined.
2007-09-14Small eye candy fix.Yann E. MORIN"1-3/+3
2007-08-15Change "triplet" (target triplet) to "tuple". That sounds better!Yann E. MORIN"1-2/+2
Document overriding the number of // jobs. Some small documentation fixes.
2007-08-15Add the possibility to force the number of // jobs without reconfiguring.Yann E. MORIN"1-0/+3
2007-08-15Get rid of the core cc selection. It is now the same as the final compiler.Yann E. MORIN"1-13/+3
2007-08-07Introduce new config option: CT_TARGET_ALIAS_SED_EXPRYann E. MORIN"1-8/+14
This option is used as a sed expression to pass onto CT_TARGET to create an alias.
2007-08-07Make use of setsid to spawn removal processes: we don't want the rm's to ↵Yann E. MORIN"1-7/+7
stop if the main script fails and ends before all directories were removed.
2007-08-07Revert previous spurious commit.Yann E. MORIN"1-7/+7
2007-08-07Fix the Makefile.in to correctly remove generated documentation.Yann E. MORIN"1-7/+7
2007-07-30Remove any reference to libfloat. That has gone once and for all.Yann E. MORIN"1-5/+0
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-23MAKEFLAGS was leaking into some components build system (dmalloc, for ↵Yann E. MORIN"1-0/+4
example). This fixes it.
2007-07-17When isntalling aliases, send symlinks creation to CT_DEBUG log level.Yann E. MORIN"1-1/+1
2007-07-17Remove the symlinks to the build/host tools earlier.Yann E. MORIN"1-5/+5
2007-07-14Print a message when installing populate.Yann E. MORIN"1-0/+1
2007-07-13Add a test for lynx (needed to download sstrip.c from buildroot).Yann E. MORIN"1-0/+1
2007-07-08Add a utility to populate a root directory with libraries from the toolchain.Yann E. MORIN"1-0/+6
2007-07-07Silence "which" being verbose in some distros. (eg. Mandriva's which spawns ↵Yann E. MORIN"1-4/+5
"foobar was not found in /bin:/usr/bin:...." directly on stderr)
2007-07-02Get rid of eclipse fiels once and for all.Yann E. MORIN"1-1/+1
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-01Merge the build system to trunk: ct-ng is now installable:Yann E. MORIN"1-21/+13
- ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>
2007-06-17The log file is no longer configurable: it is always ↵Yann E. MORIN"1-24/+21
"${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-16scripts/functions is responsible for initiating the log file.Yann E. MORIN"1-7/+0
Users of the log facility are in charge to use, move, delete this log file, now.
2007-06-02Be a little more explicit when the user wants to restart a non-restartable ↵Yann E. MORIN"1-1/+2
build.
2007-06-02Revert revision 201: renaming the two cc_core passes was a bad idea.Yann E. MORIN"1-2/+2
2007-06-01Rename two steps to their real names:Yann E. MORIN"1-2/+2
- cc_core_pass_1 is really cc_core_static, - cc_core_pass_2 is really cc_core_shared.