aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Native gcc is picky about the CC and LD variables. Set them unconditionally, ↵Yann E. MORIN"2008-06-271-2/+3
| | | | | | | whether building static or not. /trunk/scripts/build/debug/300-gdb.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
* Do al ittle bit more jobs in parallel while building gcc.Yann E. MORIN"2008-06-271-5/+5
| | | | | /trunk/scripts/build/cc_gcc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
* Don't force building target GMP and MPFR when a native gdb is built. Rather,Yann E. MORIN"2008-06-251-1/+1
| | | | | | | | | | add a config knob to configure the native gdb to use or not to use GMP and MPFR; _this_config_knob_ will force building the target GMP and MPFR only if turned on. /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- /trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-)
* Alloow for reporter without an URL (for privately mailed submissions).Yann E. MORIN"2008-06-251-2/+6
| | | | | /trunk/scripts/showSamples.sh | 8 6 2 0 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
* Allow to store working files outside the build tree (eg. incase the working ↵Yann E. MORIN"2008-06-241-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(-)
* Don't build ncurses ADA bindings if an ADA x-compiler was not built.Yann E. MORIN"2008-06-241-0/+1
| | | | | /trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Only priunt WARNings when saving the current configuration.Yann E. MORIN"2008-06-221-5/+5
| | | | | | | Eye-candy in code. /trunk/scripts/saveSample.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
* GMP and MPFR are no longer a sub-component of gcc (config-wise).Yann E. MORIN"2008-06-203-25/+98
| | | | | | | | | | | | | | | | | Build and install GMP and MPFR for the target. Use the target GMP and MPFR to build the native gdb. Have separate extra_config for cross gdb, native gdb and gdbserver. Check native GMP and MPFR in //. /trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++------- /trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++------- /trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++-------- /trunk/steps.mk | 2 2 0 0 ++ /trunk/config/cc/gcc.in | 18 1 17 0 +-------------- /trunk/config/debug/gdb.in | 6 1 5 0 +---- /trunk/config/config.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++ 8 files changed, 137 insertions(+), 47 deletions(-)
* Print "Build completed" only if not in error, not the other way around.Yann E. MORIN"2008-06-201-1/+1
| | | | | /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Really don't re-build MPFR autotools files at each run.Yann E. MORIN"2008-06-202-5/+13
| | | | | | /trunk/scripts/build/debug/300-gdb.sh | 8 6 2 0 ++++++-- /trunk/scripts/build/mpfr.sh | 10 7 3 0 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-)
* Don't force building a gdbserver when only native gdb is selected.Yann E. MORIN"2008-06-201-1/+0
| | | | | | /trunk/config/debug/gdb.in | 1 0 1 0 - /trunk/scripts/build/debug/300-gdb.sh | 1 0 1 0 - 2 files changed, 2 deletions(-)
* Only rebuild MPFR config files at extract time, not for every builds.Yann E. MORIN"2008-06-201-8/+7
| | | | | /trunk/scripts/build/mpfr.sh | 15 7 8 0 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
* Realy fix building MPFR.Yann E. MORIN"2008-06-201-0/+2
| | | | | /trunk/scripts/build/mpfr.sh | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
* Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ↵Yann E. MORIN"2008-06-191-0/+11
| | | | | | | ltmain.sh versions mismatch. UNTESTED! /trunk/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++ 1 file changed, 11 insertions(+)
* A bunch of fixes/improvements to the gdb build:Yann E. MORIN"2008-06-191-47/+79
| | | | | | | | | | | | - allow native builds (both shared and static) - fix enabling threads - better handle the gdbserver case - introduce the ncurses library to allow native builds - re-order config options adequately /trunk/scripts/build/debug/300-gdb.sh | 126 79 47 0 ++++++++++++++++++++++++++--------------- /trunk/config/debug/gdb.in | 45 33 12 0 +++++++++++---- 2 files changed, 112 insertions(+), 59 deletions(-)
* Only print "Build completed" if build was successful.Yann E. MORIN"2008-06-191-2/+5
| | | | | | | Print the time at which at step was finished (along with the time it took to complete). /trunk/scripts/functions | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
* Fix building D.U.M.A. when C++ is not configured.Yann E. MORIN"2008-06-191-1/+1
| | | | | /trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Build a C++ friendly uClibc.Yann E. MORIN"2008-06-191-2/+2
| | | | | /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* When building uClibc, always build the libpthread_db.Yann E. MORIN"2008-06-191-3/+5
| | | | | /trunk/scripts/build/libc_uClibc.sh | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
* Help ncurses to install properly.Yann E. MORIN"2008-06-181-0/+1
| | | | | /trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Re-format the dumped DokuWiki table of samples.Yann E. MORIN"2008-06-181-5/+15
| | | | | /trunk/scripts/showSamples.sh | 20 15 5 0 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-)
* Fix saving samples.Yann E. MORIN"2008-06-181-1/+1
| | | | | /trunk/scripts/saveSample.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Fix building native gdb: download, extract, patch, build and install the ↵Yann E. MORIN"2008-06-181-4/+42
| | | | | | | | ncurses library (that is needed by gdb) /trunk/scripts/build/debug/300-gdb.sh | 46 42 4 0 +++++++++++++++++++++++++++++++++++++---- /trunk/config/debug/gdb.in | 26 25 1 0 ++++++++++++++++++++++- 2 files changed, 67 insertions(+), 5 deletions(-)
* Fix building D.U.M.A:Yann E. MORIN"2008-06-171-21/+33
| | | | | | | | | - some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0 - don't build the libraries multiple times, do it in one pass - install a custom LD_PRELOAD wrapper /trunk/scripts/build/debug/200-duma.sh | 54 33 21 0 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-)
* Help glibc build by exporting PARALLELMFLAGS.Yann E. MORIN"2008-06-171-0/+1
| | | | | /trunk/scripts/crosstool.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Change the log level of a core gcc build message (headers copy), from EXTRA ↵Yann E. MORIN"2008-06-171-2/+2
| | | | | | | to DEBUG. /trunk/scripts/build/cc_gcc.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Some makeinfo versions are a pain in [somewhere very painful].Yann E. MORIN"2008-06-151-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(+)
* Better install the libraries improperly installed by gcc in ↵Yann E. MORIN"2008-06-151-1/+2
| | | | | | | prefix/target/lib instead of sysroot/usr/lib. /trunk/scripts/build/cc_gcc.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* When saving a sample, force the prefix directory to be ↵Yann E. MORIN"2008-06-151-1/+3
| | | | | | | ${HOME}/x-tools/${CT_TARGET} . /trunk/scripts/saveSample.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
* Add a new rule to build the sample table ready to include in the WiKi.Yann E. MORIN"2008-06-151-28/+53
| | | | | | /trunk/scripts/showSamples.sh | 81 53 28 0 ++++++++++++++++++++++++++++++++----------------- /trunk/samples/samples.mk | 6 6 0 0 ++++ 2 files changed, 59 insertions(+), 28 deletions(-)
* Add support for the up-coming gcc-4.3.Yann E. MORIN"2008-06-091-1/+3
| | | | | | | | | Two new config options: pkgversion and bugurl. /trunk/scripts/build/cc_gcc.sh | 4 3 1 0 +++- /trunk/tools/addToolVersion.sh | 20 16 4 0 ++++++++++++++++---- /trunk/config/cc/gcc.in | 24 24 0 0 ++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 5 deletions(-)
* Rework dumping the samples.Yann E. MORIN"2008-05-261-1/+0
| | | | | | /trunk/scripts/showSamples.sh | 1 0 1 0 - /trunk/samples/samples.mk | 10 7 3 0 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-)
* Add a new helper function: CT_DoExecLog.Yann E. MORIN"2008-05-251-0/+8
| | | | | | | It is similar to CT_DoLog, but instead of printing its arguments, it uses them as a command, and logs the output of that command. /trunk/scripts/functions | 8 8 0 0 ++++++++ 1 file changed, 8 insertions(+)
* Fix building big-endian ARM EABI toolchains (build-tested only).Yann E. MORIN"2008-05-251-2/+4
| | | | | | | | Patch highly inspired by the one from OpenWRT (http://openwrt.org/) /trunk/patches/gcc/4.2.3/930-eabi_fixes.patch | 13 13 0 0 +++++++++++++ /trunk/scripts/build/cc_gcc.sh | 6 4 2 0 ++++-- 2 files changed, 17 insertions(+), 2 deletions(-)
* Multilib is gone, so don't use it when building gcc.Yann E. MORIN"2008-05-241-5/+1
| | | | | /trunk/scripts/build/cc_gcc.sh | 6 1 5 0 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
* Use the arch-specific target LDFLAGS into the final target LDFLAGS.Yann E. MORIN"2008-05-241-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(-)
* Improve handling of __cxa_atexit by Arnaud Vrac <rawoul at zogzog dot org>.Yann E. MORIN"2008-05-221-3/+15
| | | | | /trunk/scripts/build/cc_gcc.sh | 18 15 3 0 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
* Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.Yann E. MORIN"2008-05-211-2/+7
| | | | | | | | It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi). There's still work to do, especially finish the gcc part that is not in this commit. /trunk/scripts/functions | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
* Build an MPFR library that is thread-safe (I don't know if either binutils ↵Yann E. MORIN"2008-05-211-0/+1
| | | | | | | or gcc are threaded themselves). /trunk/scripts/build/mpfr.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"2008-05-2013-169/+169
| | | | | | | | | | | | | | | | | | | | | | | | $(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(-)
* In the future, we'll be able to download /old/ MPFR versions.Yann E. MORIN"2008-05-191-1/+2
| | | | | /trunk/scripts/build/mpfr.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* Introduce a new option to overide components' config.{gues,sub} with the one ↵Yann E. MORIN"2008-05-151-2/+11
| | | | | | | | | | provided with crosstool-NG. Fix typoes in a comment. /trunk/scripts/functions | 13 11 2 0 +++++++++++-- /trunk/config/global/download_extract.in | 20 20 0 0 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-)
* Fix forcing source extraction.Yann E. MORIN"2008-05-151-2/+3
| | | | | /trunk/scripts/crosstool.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
* Better configure binutils, both for host and target.Yann E. MORIN"2008-05-141-8/+15
| | | | | /trunk/scripts/build/binutils.sh | 23 15 8 0 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)
* Sanitise and use CT_CC_NATIVE.Yann E. MORIN"2008-05-142-1/+12
| | | | | | | | 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(-)
* Introduce a new option to render (or not) uClibc' build verbose.Yann E. MORIN"2008-05-141-2/+4
| | | | | | /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(-)
* Export endianness CFLAGS.Yann E. MORIN"2008-05-141-0/+1
| | | | | | | | 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(+)
* Fix building uClibc-based, soft-float toolchains by correctly setting float ↵Yann E. MORIN"2008-05-142-4/+4
| | | | | | | | | | 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(-)
* Improve a comment in code.Yann E. MORIN"2008-05-111-0/+1
| | | | | /trunk/scripts/build/libc_glibc.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Add a new option to set connection timeout while downloading.Yann E. MORIN"2008-05-061-8/+8
| | | | | | /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/config/global/download_extract.in | 25 25 0 0 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 8 deletions(-)