summaryrefslogtreecommitdiff
path: root/scripts/build/cc_gcc.sh
AgeCommit message (Collapse)AuthorFilesLines
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"1-275/+0
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-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-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-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-07-27Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same ↵Yann E. MORIN"1-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(-)
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-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-14Use CT_DoExecLog when building gcc.Yann E. MORIN"1-28/+27
/trunk/scripts/build/cc_gcc.sh | 55 27 28 0 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 28 deletions(-)
2008-07-13Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and ↵Yann E. MORIN"1-3/+3
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(-)
2008-06-27Do al ittle bit more jobs in parallel while building gcc.Yann E. MORIN"1-5/+5
/trunk/scripts/build/cc_gcc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-17Change the log level of a core gcc build message (headers copy), from EXTRA ↵Yann E. MORIN"1-2/+2
to DEBUG. /trunk/scripts/build/cc_gcc.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-15Better install the libraries improperly installed by gcc in ↵Yann E. MORIN"1-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(-)
2008-06-09Add support for the up-coming gcc-4.3.Yann E. MORIN"1-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(-)
2008-05-25Fix building big-endian ARM EABI toolchains (build-tested only).Yann E. MORIN"1-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(-)
2008-05-24Multilib is gone, so don't use it when building gcc.Yann E. MORIN"1-5/+1
/trunk/scripts/build/cc_gcc.sh | 6 1 5 0 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
2008-05-22Improve handling of __cxa_atexit by Arnaud Vrac <rawoul at zogzog dot org>.Yann E. MORIN"1-3/+15
/trunk/scripts/build/cc_gcc.sh | 18 15 3 0 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
2008-05-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"1-7/+7
$(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-14Sanitise and use CT_CC_NATIVE.Yann E. MORIN"1-0/+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-05-03Some people are reposrting that ftp does not work on their network, probably ↵Yann E. MORIN"1-4/+2
due to proxies, while http does work. Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover. There's no solution for those sites that do not have such an http equivalent. /trunk/scripts/build/binutils.sh | 5 2 3 0 ++--- /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++-- /trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++----- /trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++----- /trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++---- /trunk/scripts/build/gmp.sh | 4 1 3 0 +--- 8 files changed, 14 insertions(+), 24 deletions(-)
2008-04-30Merge the fortran stuff to trunk now it works!Yann E. MORIN"1-5/+6
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-28Be alittle less verbose in the core CC pass 1 & 2.Yann E. MORIN"1-5/+0
/trunk/scripts/build/cc_gcc.sh | 5 0 5 0 ----- 1 file changed, 5 deletions(-)
2008-01-16Move improperly installed gcc libraries to the sysroot.Yann E. MORIN"1-18/+5
Remove a huge comment that itself says it should have been deleted ages ago.
2007-09-16ARM EABI is now working for little endian ARM targets.Yann E. MORIN"1-1/+2
Big endian is still missing, though...
2007-09-16Revert multilib handling. Even if we don't do multilib, we need to at leastYann E. MORIN"1-0/+5
say we don't, and not let gcc choose on its own (which it does wrong).
2007-09-15Further improve the architecture-specific framework.Yann E. MORIN"1-26/+3
Apply this framework into building of glibc and gcc. (Whoo! 500th commit! Yeah!)
2007-09-02Print a log message when entering/leaving the two core compiler passes.Yann E. MORIN"1-1/+5
2007-08-15Get rid of the core cc selection. It is now the same as the final compiler.Yann E. MORIN"1-1/+173
2007-07-12Fix linking target-cc to target-gcc.Yann E. MORIN"1-1/+1
2007-07-11Change the target-cc link from soft to hard. This way, there's no soft link ↵Yann E. MORIN"1-1/+1
in this directory.
2007-07-08Add a utility to populate a root directory with libraries from the toolchain.Yann E. MORIN"1-0/+4
2007-06-16Fix printing components' file names.Yann E. MORIN"1-1/+1
2007-06-16Add a function to print each component's filename: this eases building the ↵Yann E. MORIN"1-0/+5
tarball of the generated toolchain. Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-05-24We need to build libiberty before gcc only in the canadian case, not the ↵Yann E. MORIN"1-1/+1
opposite.
2007-05-08Huge fixes to glibc build, so that we can build at least (and at last):Yann E. MORIN"1-4/+4
- use ports addon even when installing headers, - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!), - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T, - a bit of preparations for NPTL (RSN I hope), - fix fixing the linker scripts (changing the backup file is kind of useless and stupid); Shut uClibc finish step: there really is nothing to do; Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least); Did not catch the make errors: fixed the pattern matching in scripts/functions; Introduce a new log level, ALL: - send components' build messages there, - DEBUG log level is destined only for crosstool-NG debug messages, - migrate sub-actions to use appropriate log levels; Update the armeb-unknown-linux-gnu sample: - it builds! - uses gcc-4.0.4 and glibc-2.3.6, - updated to latest config options set.
2007-05-07Merge the save-sample branch to trunk:Yann E. MORIN"1-0/+20
- reorder most of the environment setup, - geting, extracting and patching are now components' sub-actions, - save the current config as a sample to be used as a pre-configured target.
2007-05-01Some little cosmetics in final compiler.Yann E. MORIN"1-3/+3
2007-04-23Fixed a non-fatal bug in a sed expression.Yann E. MORIN"1-4/+4
Some cosmetics as well.
2007-04-21Merge first shot from the MIPS branch.Yann E. MORIN"1-0/+1
2007-03-21Patch from Enrico WEIGELT <weigelt@metux.de> to disable __cxa_atexit for ↵Yann E. MORIN"1-1/+1
those C libraries with no support (old uClibc).
2007-02-24Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"1-0/+115
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(