Add support for building toolchains with gcc-4.4 snapshots.
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).
We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.
Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.
Patch was adpated by me, mostly to better fit the configuration layout.
/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
5 default "none" if BARE_METAL
14 Enter the date of the snapshot you want to use in the form: YYYYMMDD
15 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
19 - glibc has snapshots done every monday, and only the last ten are kept.
20 - uClibc has daily snapshots, and only the last 30-or-so are kept.
22 So if you want to be able to re-build your toolchain later, you will
23 have to save your C library tarball by yourself.
25 source config.gen/libc.in
27 comment "Common C library options"
29 config LIBC_SUPPORT_NPTL
33 config LIBC_SUPPORT_LINUXTHREADS
39 default "nptl" if THREADS_NPTL
40 default "linuxthreads" if THREADS_LINUXTHREADS
41 default "none" if THREADS_NONE
45 prompt "Threading implementation to use:"
46 default THREADS_NPTL if LIBC_SUPPORT_NPTL
47 default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
48 default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
53 depends on LIBC_SUPPORT_NPTL
55 config THREADS_LINUXTHREADS
58 depends on LIBC_SUPPORT_LINUXTHREADS