summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-06-01Introduce the notion of tols facilities (none so far, sstrip coming right ↵Yann E. MORIN"1-0/+4
away...).
2007-05-28Fix and enhance the STOP/RESTART facility.Yann E. MORIN"1-10/+18
2007-05-27Forgot to remove all build system tools from the generated toolchain.Yann E. MORIN"1-0/+1
2007-05-27Merge the NPTL stuff.Yann E. MORIN"1-12/+21
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-25Add the possibility to stop after a specified step.Yann E. MORIN"1-0/+4
Update the Makefile help and the documentation accordingly.
2007-05-24In the non-canadian case, also force the build system.Yann E. MORIN"1-1/+1
2007-05-22Be verbose when making build system tools available, and when access is ↵Yann E. MORIN"1-8/+9
removed. Log this to DEBUG. Remove last remnants of color scheme. Small fixes to some comments.
2007-05-22Implement a restart facility.Yann E. MORIN"1-191/+245
If you select to debug ct-ng, then you have two new options: - DEBUG_CT_PAUSE_STEPS : pause between every steps, - DEBUG_CT_SAVE_STEPS : save state between every steps. To restart a saved state, just set the RESTART make variable when calling make: - make RESTART=<step_name>
2007-05-20Ah! I finally have a progress bar that doesn't stall the build!Yann E. MORIN"1-9/+13
- pipe size in Linux is only 8*512=4096 bytes - pipe size is not setable - when the feeding process spits out data faster than the eating process can read it, then the feeding process stalls after 4KiB of data sent to the pipe - for us, the progress bar would spawn a sub-shell every line, and the sub-shell would in turn spawn a 'date' command. Which was sloooww as hell, and would cause some kind of a starvation: the pipe was full most of the time, and the feeding process was stalled all this time. Now, we use internal variables and a little hack based onan offset to determine the elapsed time. Much faster this way, but still CPU-intensive.