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(-)
4 select LIBC_SUPPORT_LINUXTHREADS
6 The de-facto standard for embeded linux systems.
7 Highly configurable, thus as feature-rich as you need, without
12 prompt "uClibc version"
16 prompt "0.9.28 (OBSOLETE)"
19 config LIBC_V_0_9_28_1
21 prompt "0.9.28.1 (OBSOLETE)"
24 config LIBC_V_0_9_28_2
26 prompt "0.9.28.2 (OBSOLETE)"
29 config LIBC_V_0_9_28_3
41 config LIBC_V_0_9_30_1
45 # CT_INSERT_VERSION_ABOVE
46 # Don't remove above line!
48 config LIBC_V_snapshot
50 prompt "latest snapshot (EXPERIMENTAL)"
51 depends on EXPERIMENTAL
53 config LIBC_V_specific_date
55 prompt "<specific date> (EXPERIMENTAL)"
56 depends on EXPERIMENTAL
62 prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
63 default "snapshot" if LIBC_V_snapshot
64 default "0.9.28" if LIBC_V_0_9_28
65 default "0.9.28.1" if LIBC_V_0_9_28_1
66 default "0.9.28.2" if LIBC_V_0_9_28_2
67 default "0.9.28.3" if LIBC_V_0_9_28_3
68 default "0.9.29" if LIBC_V_0_9_29
69 default "0.9.30" if LIBC_V_0_9_30
70 default "0.9.30.1" if LIBC_V_0_9_30_1
71 # CT_INSERT_VERSION_STRING_ABOVE
72 # Don't remove above line!
74 config LIBC_UCLIBC_PARALLEL
76 prompt "Build uClibc in //" if LIBC_V_snapshot || LIBC_V_specific_date
79 Build uClibc using parallel jobs.
80 Some 'old' versions won't build in //, but it works starting with
81 0.9.30 release candidates.
85 prompt "uClibc verbosity:"
86 default LIBC_UCLIBC_VERBOSITY_0
88 config LIBC_UCLIBC_VERBOSITY_0
92 Print simplified command lines.
94 config LIBC_UCLIBC_VERBOSITY_1
96 prompt "Full commands"
98 Print full command lines.
102 config LIBC_UCLIBC_VERBOSITY
104 default "" if LIBC_UCLIBC_VERBOSITY_0
105 default "V=1" if LIBC_UCLIBC_VERBOSITY_1
110 default LIBC_UCLIBC_DEBUG_LEVEL_0
112 config LIBC_UCLIBC_DEBUG_LEVEL_0
116 config LIBC_UCLIBC_DEBUG_LEVEL_1
120 config LIBC_UCLIBC_DEBUG_LEVEL_2
126 config LIBC_UCLIBC_DEBUG_LEVEL
128 default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
129 default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
130 default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
132 config LIBC_UCLIBC_BUILD_CROSS_LDD
134 prompt "Build cross-ldd"
137 Say 'y' here to build a cross-ldd to run in the host.
139 Building a cross-ldd only works on ELF systems, that is,
140 if you build under Cygwin, you *must* say 'n' here.
142 config LIBC_UCLIBC_CONFIG_FILE
144 prompt "Configuration file"
147 Path to the configuration file.
149 You _must_ provide one (for now).
151 config LIBC_UCLIBC_LOCALES
153 prompt "Add support for locales"
156 Say y if you want uClibc to support localisation.
158 Note that seems to be broken on recent uClibc releases.