summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2008-09-14Enhance setting the minimum kernel version glibc will run against.Yann E. MORIN"1-5/+33
Ideally, eglibc should also benefit for that, but the current code does not set it. /trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++--- /trunk/config/libc/glibc.in | 4 2 2 0 +- /trunk/config/libc/uClibc.in | 2 2 0 0 + /trunk/config/libc/eglibc.in | 4 2 2 0 +- /trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------ /trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++-------------- 6 files changed, 145 insertions(+), 52 deletions(-)
2008-09-14Beautify somewhat the WiKi table for narrow screens.Yann E. MORIN"1-3/+3
/trunk/scripts/showSamples.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"9-30/+112
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library. Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal. Move the compiler build script to its own sub-directory. Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal. Update the ARM target tuples to enable bare-metal targets. Add two ARM bare-metal samples. Add latest Linux kernel versions. /trunk/scripts/build/kernel/none.sh | 77 6 71 0 +---- /trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++- /trunk/scripts/build/libc/none.sh | 513 9 504 0 +----------------------------- /trunk/scripts/crosstool.sh | 17 9 8 0 + /trunk/scripts/functions | 6 4 2 0 + /trunk/scripts/showSamples.sh | 6 3 3 0 /trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++ /trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++ /trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++-- /trunk/config/kernel.in | 9 8 1 0 + /trunk/config/toolchain.in | 1 1 0 0 + /trunk/config/cc/gcc.in | 3 3 0 0 + /trunk/config/debug/dmalloc.in | 1 1 0 0 + /trunk/config/debug/gdb.in | 4 3 1 0 + /trunk/config/debug/strace.in | 1 1 0 0 + /trunk/config/debug/duma.in | 1 1 0 0 + /trunk/config/cc.in | 8 8 0 0 + /trunk/config/target.in | 13 13 0 0 + /trunk/config/binutils.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 1 1 0 0 + /trunk/config/libc.in | 17 11 6 0 + /trunk/arch/arm/functions | 3 1 2 0 - 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-10Remove the now really obsolete Linux kernel headers copy and sanitised.Yann E. MORIN"4-210/+85
Remove orphanned Linux kernel patchsets. Initiate a kernel build scripts directory. Move the Linux kernel build script there. /trunk/scripts/build/kernel/linux.sh | 146 11 135 0 +++--------------------------------------- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/steps.mk | 1 0 1 0 - /trunk/config/kernel/linux.in | 49 0 49 0 -------------- /trunk/config/kernel.in | 4 4 0 0 + 5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-04Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.Yann E. MORIN"1-2/+7
/trunk/scripts/showSamples.sh | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-02Beautify samples listing.Yann E. MORIN"1-4/+4
/trunk/scripts/showSamples.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02Warn the user if he/she recalls a sample with EXPERIMENTAL features.Yann E. MORIN"1-3/+9
Also, print the EXPERIMENTAL status when listing the samples. /trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++--- /trunk/samples/samples.mk | 12 12 0 0 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-)
2008-09-02Add support for building Insight instead of gdb (only for the cross-gdb).Yann E. MORIN"1-7/+55
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++----- /trunk/config/debug/gdb.in | 13 13 0 0 +++++++++ 2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-01Be gentle to older findutils that don't have the "{} +" construct, and ↵Yann E. MORIN"1-1/+1
simply use "{} \;" instead. /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26Enable glibc to include support for kernel versions different than the ↵Yann E. MORIN"2-3/+3
version from the kernel headers. Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch. /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 +- /trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- /trunk/config/libc/glibc-eglibc-common.in | 44 44 0 0 +++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-)
2008-08-26Missed one variable when converting to common options for eglibc and glibc ↵Yann E. MORIN"1-1/+1
(thanks Nate Case). /trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26Commonalise options common to both glibc and eglibc.Yann E. MORIN"1-3/+3
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +- /trunk/config/libc/glibc.in | 63 2 61 0 +--------------------------------- /trunk/config/libc/eglibc.in | 61 1 60 0 +-------------------------------- /trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 + /trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 124 deletions(-)
2008-08-25Also dump the GMP and MPFR versions when dumping a sample in verbose mode.Yann E. MORIN"1-0/+3
/trunk/scripts/showSamples.sh | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
2008-08-25Allow using ash as the shell for ./configure and make.Yann E. MORIN"1-0/+4
After an idea by "Martin Guy" <martinwguy@yahoo.it>: http://sourceware.org/ml/crossgcc/2008-08/msg00037.html /trunk/scripts/crosstool.sh | 4 4 0 0 ++++ /trunk/config/global/build-behave.in | 14 14 0 0 ++++++++++++++ 2 files changed, 18 insertions(+)
2008-08-20Fix building older gdb's with newer gcc's.Yann E. MORIN"1-0/+2
/trunk/scripts/build/debug/300-gdb.sh | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-08-17Log retrieved file emssages to DEBUG level, not EXTRA.Yann E. MORIN"2-4/+4
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- /trunk/scripts/functions | 6 3 3 0 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-17MPFR: log autotools files rebuilding to DEBUG level, not EXTRA.Yann E. MORIN"1-1/+1
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-12Fix saving and using local copy of eglibc tarballs.Yann E. MORIN"1-5/+5
/trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
2008-08-12Merge the static and shared core gcc builds.Yann E. MORIN"1-131/+64
/trunk/scripts/build/cc_gcc.sh | 195 64 131 0 ++++++++++++++++-------------------------------- 1 file changed, 64 insertions(+), 131 deletions(-)
2008-08-12Be a little less verbose when retrieving files if they are already present.Yann E. MORIN"1-5/+2
Be a little less verbose when extracting (and patching) files. /trunk/scripts/functions | 7 2 5 0 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
2008-08-11Merge the branches/eglibc stuff:Yann E. MORIN"2-2/+287
- 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(-)
2008-08-11Move two log messages around, so that output looks better.Yann E. MORIN"1-2/+2
/trunk/scripts/functions | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-09Do not unset http_proxy, ftp_proxy and https_proxy in case of using a socks ↵Yann E. MORIN"1-4/+2
proxy. Add a log message. /trunk/scripts/functions | 6 2 4 0 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
2008-08-09Merge #920 from branches/eglibc:Yann E. MORIN"1-8/+6
Fix saving tarballs locally in case downloads are forced. /trunk/scripts/functions | 14 6 8 0 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
2008-08-09Merge #916 from branches/eglibc:Yann E. MORIN"1-17/+18
Use a little bit more of CT_DoExecLog. /trunk/scripts/functions | 35 18 17 0 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-)
2008-08-09Merge #914 from branches/eglibc:Yann E. MORIN"1-2/+3
Fix setting the proxy. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-08-09Merge #911 from banches/eglibc:Yann E. MORIN"1-1/+1
Fix testing for tool's presence. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07Introduce four new ARCH specific variables that CT_DoArchValues can set if ↵Yann E. MORIN"2-2/+4
they want: - CT_ARCH_CC_CORE_EXTRA_CONFIG - CT_ARCH_CC_EXTRA_CONFIG - CT_ARCH_TARGET_CLFAGS - CT_ARCH_TARGET_LDFLAGS This will hopefully enable architectures to specify specific flags. PowerPC will need them to introduce SPE (coming RSN). /trunk/scripts/crosstool.sh | 2 2 0 0 ++ /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/docs/overview.txt | 45 22 23 0 ++++++++++++++++++++++----------------------- /trunk/config/target.in | 10 10 0 0 ++++++++++ 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07Add a new config knob for gcc: usage of SJLJ to handle exceptions.Yann E. MORIN"1-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(-)
2008-08-07Fix building core C compiler.Yann E. MORIN"1-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(-)
2008-08-07Beautify final output.Yann E. MORIN"1-3/+4
/trunk/scripts/crosstool.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2008-08-04Make gcc-4.3.x able to compile uClibc (snapshot only).Yann E. MORIN"1-2/+53
Update the gcc patchset accordingly. /trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-)
2008-08-04Michael ABBOTT reported that populate is not relocatable.Yann E. MORIN"1-8/+6
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time. /trunk/configure | 1 1 0 0 + /trunk/scripts/crosstool.sh | 14 6 8 0 ++++++-------- /trunk/tools/populate.in | 6 4 2 0 ++++-- 3 files changed, 11 insertions(+), 10 deletions(-)
2008-08-01Rework a little bit of the LAN mirror and proxy settings.Yann E. MORIN"2-123/+133
/trunk/scripts/crosstool.sh | 105 4 101 0 +------------------------ /trunk/scripts/functions | 151 129 22 0 +++++++++++++++++++++++++++++++----- /trunk/config/global/download.in | 193 99 94 0 ++++++++++++++++++++++++---------------------- 3 files changed, 232 insertions(+), 217 deletions(-)
2008-07-31Have the glibc build use the cross-objdump, rather than the host one.Yann E. MORIN"1-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(-)
2008-07-29Pretyy-up the WiKi table with the date of last update for each sample.Yann E. MORIN"1-3/+12
/trunk/scripts/showSamples.sh | 15 12 3 0 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-27Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same ↵Yann E. MORIN"2-26/+14
*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(-)
2008-07-27Re-enable the restart functionality by removing some variables from the ↵Yann E. MORIN"1-6/+10
saved environment. /trunk/scripts/functions | 16 10 6 0 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
2008-07-27"Reported by" is now "First reported by".Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27When saving a sample, overide log file config:Yann E. MORIN"1-2/+4
- do log to a file - do compress the log file /trunk/scripts/saveSample.sh | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-26Do log the glibc build commands.Yann E. MORIN"1-36/+44
/trunk/scripts/build/libc_glibc.sh | 80 44 36 0 ++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 36 deletions(-)
2008-07-26Build a little bit more of gcc in //.Yann E. MORIN"1-1/+1
/trunk/scripts/build/cc_gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-26In case of error, the error message would be printing in subshells, thus ↵Yann E. MORIN"1-0/+2
printing as many error message as there were subshells. Limit printing this message only in the top-level shell. /trunk/scripts/functions | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-07-25Hmmm. The debug pause at each step never ever worked... Sigh...Yann E. MORIN"1-1/+1
/trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/config/global/ct-behave.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2008-07-25Also print the number of samples in the DokuWiki table.Yann E. MORIN"1-0/+6
/trunk/scripts/showSamples.sh | 6 6 0 0 ++++++ 1 file changed, 6 insertions(+)
2008-07-25Woops! It's the kernel v ersion that is /custom/, not the kernel it self!Yann E. MORIN"1-2/+2
/trunk/scripts/showSamples.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-25When dumping the DokuWiki table of samples, don't leave the kernel headers ↵Yann E. MORIN"1-1/+5
version empty if using a custom headers set., and say so. /trunk/scripts/showSamples.sh | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
2008-07-25While retrieving files, propagate the preferred extension down to sub-functions.Yann E. MORIN"1-3/+5
/trunk/scripts/functions | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
2008-07-24Make gcc-4.3.x build.Yann E. MORIN"1-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(-)
2008-07-24Don't check fo lynx, it's no longer used.Yann E. MORIN"1-1/+0
/trunk/scripts/build/tools/200-sstrip.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)