summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-26 18:47:34 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-26 18:47:34 (GMT)
commit355586027b3fb898d4272ddd4f788b772085e7de (patch)
tree2d2b4a26bff9360f6ba87f1bdf3ce793d49a7c8c /config
parent6c060f2375cf0ef3402b8d8b36fdc6852ba82bd5 (diff)
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(-)
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in35
1 files changed, 30 insertions, 5 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 4609c15..de5d511 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -112,10 +112,39 @@ config CC_V_4_3_3
depends on EXPERIMENTAL
select CC_GCC_4_3_or_later
+config CC_V_4_4_0
+ bool
+ prompt "4.4.0 snapshot"
+ depends on EXPERIMENTAL
+ select CC_GCC_4_3_or_later
+ select CC_GCC_4_4_snapshot
+
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice
+config CC_GCC_4_3_or_later
+ bool
+ default n
+ select GMP_MPFR
+
+config CC_GCC_4_4_snapshot
+ bool
+ default n
+
+config CC_GCC_4_4_snapshot_date
+ string
+ prompt "Snapshot date"
+ depends on CC_GCC_4_4_snapshot
+ help
+ Enter the snapshot date in the form YYYYMMDD.
+ Snapshots are made every friday, at around 22:30 GMT+1,
+ so look at your calendar to find a suitable date.
+
+ Also, know that crosstool-NG does *not* carry any patch
+ for the gcc-4.4 snapshots. So, you may have to answer
+ 'y' to CUSTOM_PATCH, and set CUSTOM_PATCH_DIR adequately.
+
config CC_VERSION
string
default "3.2.3" if CC_V_3_2_3
@@ -138,14 +167,10 @@ config CC_VERSION
default "4.3.1" if CC_V_4_3_1
default "4.3.2" if CC_V_4_3_2
default "4.3.3" if CC_V_4_3_3
+ default "4.4-" if CC_V_4_4_0
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
-config CC_GCC_4_3_or_later
- bool
- default n
- select GMP_MPFR
-
config CC_CXA_ATEXIT
bool
prompt "Use __cxa_atexit"