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 select LIBC_SUPPORT_NPTL
6 select LIBC_SUPPORT_LINUXTHREADS
8 EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
9 that is designed to work well on embedded systems. EGLIBC strives
10 to be source and binary compatible with GLIBC. Its goals include
11 a reduced footprint, configurable components, and improved
12 cross-compilation support. EGLIBC also includes some embedded ports
13 (such as e500/spe) that are normally separate add-ons of GLIBC.
17 prompt "eglibc version"
39 # CT_INSERT_VERSION_ABOVE
40 # Don't remove above line!
46 Selecting this will export the trunk of the eglibc subversion repository.
52 default "trunk" if EGLIBC_V_TRUNK
53 default "2_5" if EGLIBC_V_2_5
54 default "2_6" if EGLIBC_V_2_6
55 default "2_7" if EGLIBC_V_2_7
56 default "2_8" if EGLIBC_V_2_8
57 default "2_9" if EGLIBC_V_2_9
58 # CT_INSERT_VERSION_STRING_ABOVE
59 # Don't remove above line!
61 config EGLIBC_REVISION
63 prompt "Revision to use"
66 Enter the revision of trunk you want to use.
69 A revision argument can be one of:
70 NUMBER revision number
71 '{' DATE '}' revision at start of the date (*)
72 'HEAD' latest in repository
74 (*) If you want to use a date, please use ISO-8601 formats if
77 config EGLIBC_CHECKOUT
79 prompt "checkout instead of export"
80 default y if EGLIBC_V_TRUNK
81 default n if ! EGLIBC_V_TRUNK
83 By default, the eglibc download will be an export of the subversion
84 repository. If you say 'y' here, then the repository will instead be
85 checked-out, so that you can update it later.
87 Note that crosstool-NG will *not* update your working copy, you will
88 have to do that yourself.