aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix saving and using local copy of eglibc tarballs.Yann E. MORIN"2008-08-121-5/+5
| | | | | /trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
* Merge the static and shared core gcc builds.Yann E. MORIN"2008-08-121-131/+64
| | | | | /trunk/scripts/build/cc_gcc.sh | 195 64 131 0 ++++++++++++++++-------------------------------- 1 file changed, 64 insertions(+), 131 deletions(-)
* Merge the branches/eglibc stuff:Yann E. MORIN"2008-08-111-0/+283
| | | | | | | | | | - Add support for eglibc /trunk/scripts/functions | 6 4 2 0 ++++-- /trunk/docs/CREDITS | 1 1 0 0 + /trunk/config/libc.in | 12 12 0 0 ++++++++++++ /trunk/arch/arm/functions | 4 2 2 0 ++-- 4 files changed, 19 insertions(+), 4 deletions(-)
* Add a new config knob for gcc: usage of SJLJ to handle exceptions.Yann E. MORIN"2008-08-071-3/+5
| | | | | | | | This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc). /trunk/config/cc/gcc.in | 41 39 2 0 +++++++++++++++++++++++++++++++++++++++-- /trunk/scripts/build/cc_gcc.sh | 8 5 3 0 +++++--- 2 files changed, 44 insertions(+), 5 deletions(-)
* Fix building core C compiler.Yann E. MORIN"2008-08-071-53/+47
| | | | | | | | | PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers. In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake. This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested). /trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-)
* Make gcc-4.3.x able to compile uClibc (snapshot only).Yann E. MORIN"2008-08-041-2/+53
| | | | | | | Update the gcc patchset accordingly. /trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-)
* Have the glibc build use the cross-objdump, rather than the host one.Yann E. MORIN"2008-07-311-16/+21
| | | | | | | | | | | On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail. This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump. Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-( /trunk/patches/glibc/2.7/220-objdump_for_host.patch | 13 13 0 0 +++++++++ /trunk/scripts/build/libc_glibc.sh | 37 21 16 0 +++++++++++++++------------ 2 files changed, 34 insertions(+), 16 deletions(-)
* Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same ↵Yann E. MORIN"2008-07-271-26/+0
| | | | | | | | | | | | *64): - symlink all lib64/ dirs to the corresponding lib/ dir Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place. Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix. /trunk/scripts/build/cc_gcc.sh | 26 0 26 0 -------------------------- /trunk/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++ 2 files changed, 14 insertions(+), 26 deletions(-)
* Do log the glibc build commands.Yann E. MORIN"2008-07-261-36/+44
| | | | | /trunk/scripts/build/libc_glibc.sh | 80 44 36 0 ++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 36 deletions(-)
* Build a little bit more of gcc in //.Yann E. MORIN"2008-07-261-1/+1
| | | | | /trunk/scripts/build/cc_gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Make gcc-4.3.x build.Yann E. MORIN"2008-07-241-4/+22
| | | | | | | Thanks to both Ioannis E. VENETIS and Thomas JOURDAN for their help. /trunk/scripts/build/cc_gcc.sh | 26 22 4 0 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
* Don't check fo lynx, it's no longer used.Yann E. MORIN"2008-07-241-1/+0
| | | | | /trunk/scripts/build/tools/200-sstrip.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)
* Simplify downloading sstrip, using the common retrieval framework.Yann E. MORIN"2008-07-241-28/+3
| | | | | /trunk/scripts/build/tools/200-sstrip.sh | 31 3 28 0 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-)
* Remove garbage files left behind by downloads from sourceforge.net.Yann E. MORIN"2008-07-222-1/+8
| | | | | | /trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
* Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for ↵Yann E. MORIN"2008-07-221-2/+20
| | | | | | | | | | | | glibc. Update uClibc config to commonalise some help. /trunk/scripts/build/libc_glibc.sh | 22 20 2 0 ++++++++++++++++++++-- /trunk/config/libc/glibc.in | 12 12 0 0 ++++++++++++ /trunk/config/libc/uClibc.in | 12 4 8 0 ++++-------- /trunk/config/libc.in | 13 13 0 0 +++++++++++++ 4 files changed, 49 insertions(+), 10 deletions(-)
* Use POSIX constructs in the DUMA wrapper installed on the target.Yann E. MORIN"2008-07-191-1/+12
| | | | | /trunk/scripts/build/debug/duma.in | 13 12 1 0 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
* Remove the check for absolutely needed tools now ./configure checks for them.Yann E. MORIN"2008-07-171-0/+1
| | | | | | | | 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(-)
* Use CT_DoExecLog when building tools and debug utilities.Yann E. MORIN"2008-07-146-31/+38
| | | | | | | | | | /trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------ /trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++----- /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++------------- /trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++--- /trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++-- 6 files changed, 38 insertions(+), 31 deletions(-)
* Fix CT_DoExecLog usage when building GMP for target.Yann E. MORIN"2008-07-141-4/+4
| | | | | /trunk/scripts/build/gmp.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Advertise using CT_DoExecLog in the tools and debug templates.Yann E. MORIN"2008-07-142-4/+6
| | | | | | /trunk/scripts/build/tools/000-template.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/000-template.sh | 5 3 2 0 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
* Use CT_DoExecLog when building libelf.Yann E. MORIN"2008-07-141-3/+4
| | | | | /trunk/scripts/build/tools/100-libelf.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
* Use CT_DoExecLog when building gcc.Yann E. MORIN"2008-07-141-28/+27
| | | | | /trunk/scripts/build/cc_gcc.sh | 55 27 28 0 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 28 deletions(-)
* Use CT_DoExecLog when building uClibc.Yann E. MORIN"2008-07-141-8/+11
| | | | | /trunk/scripts/build/libc_uClibc.sh | 19 11 8 0 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
* Fix CT_DoExecLog usage when building binutils' libraries for target.Yann E. MORIN"2008-07-141-2/+2
| | | | | /trunk/scripts/build/binutils.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Use CT_DoExecLog in binutils build.Yann E. MORIN"2008-07-141-7/+9
| | | | | /trunk/scripts/build/binutils.sh | 16 9 7 0 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
* Use CT_DoExecLog for MPFR build.Yann E. MORIN"2008-07-141-23/+25
| | | | | /trunk/scripts/build/mpfr.sh | 48 25 23 0 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-)
* Use CT_DoExecLog for GMP build.Yann E. MORIN"2008-07-141-5/+7
| | | | | /trunk/scripts/build/gmp.sh | 12 7 5 0 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
* Use CT_DoExecLog for Linux headers install.Yann E. MORIN"2008-07-141-2/+4
| | | | | /trunk/scripts/build/kernel_linux.sh | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
* Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and ↵Yann E. MORIN"2008-07-133-5/+5
| | | | | | | | | | | MPFR were not used by gcc. Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users. /trunk/scripts/build/binutils.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- /trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)
* Although working with bash, 'echo -n' is really non-portable.Yann E. MORIN"2008-07-071-1/+3
| | | | | | | | | | Get rid of this by using printf(1) with no trailing new-line (\n). Again, thanks to Martin GUY, who pointed this issue. /trunk/kconfig/kconfig.mk | 2 1 1 0 /trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++ /trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++--------------------- 3 files changed, 43 insertions(+), 41 deletions(-)
* Newer, better, tsocks(1)-like wrapper script for D.U.M.A.Yann E. MORIN"2008-06-302-9/+47
| | | | | | /trunk/scripts/build/debug/duma.in | 44 44 0 0 ++++++++++++++++++++++++++++++++++++++++ /trunk/scripts/build/debug/200-duma.sh | 12 3 9 0 +++-------- 2 files changed, 47 insertions(+), 9 deletions(-)
* 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(-)
* 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(+)
* 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(-)
* 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(-)
* 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(+)
* 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(-)
* 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(-)
* 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(-)