This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Henry, All, On Tuesday 15 February 2011 00:16:52 hong zhang wrote: > I like to build linaro toolchain with cross-ng. Would you please tell > me where to start? I can build toolchain use cross-ng only so far. I'm not sure what you mean by 'cross-ng'. Do you mean 'crostool-NG' ? If so, support for toolchain using the Linaro gcc (and gdb?) is planned. Attached is a test-patch that is absolutely untested (at least it downloads and extracts the tarballs). It adds support only for the lattest Linaro gcc version. Please apply and report whether it works for you. If so, I'll rework it to be a bit more generic. (CC: Thomas, as we already discussed the subject live at FOSDEM). Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
diff --git a/config/cc/gcc.in b/config/cc/gcc.in --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -19,6 +19,12 @@ # Don't remove next line # CT_INSERT_VERSION_BELOW +config CC_V_linaro_4_5_2011_02_0 + bool + prompt "linaro-4.5-2011.02-0 (EXPERIMENTAL)" + depends on EXPERIMENTAL + select CC_GCC_4_5_or_later + config CC_V_4_5_2 bool prompt "4.5.2 (EXPERIMENTAL)" @@ -216,6 +222,7 @@ string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "linaro-4.5-2011.02-0" if CC_V_linaro_4_5_2011_02_0 default "4.5.2" if CC_V_4_5_2 default "4.5.1" if CC_V_4_5_1 default "4.5.0" if CC_V_4_5_0 diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -2,8 +2,21 @@ # Copyright 2007 Yann E. MORIN # Licensed under the GPL v2. See COPYING in the root of this package +CT_LINARO_BASE_URL="http://launchpad.net/gcc-linaro" + # Download gcc do_cc_get() { + local linaro_version + local linaro_series + + # Account for the Linaro versions + linaro_version="$( echo "${CT_CC_VERSION}" \ + |sed -r -e 's/^linaro-//;' \ + )" + linaro_series="$( echo "${linaro_version}" \ + |sed -r -e 's/-.*//;' \ + )" + # Ah! gcc folks are kind of 'different': they store the tarballs in # subdirectories of the same name! That's because gcc is such /crap/ that # it is such /big/ that it needs being splitted for distribution! Sad. :-( @@ -13,7 +26,8 @@ CT_GetFile "gcc-${CT_CC_VERSION}" \ {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${CT_CC_VERSION}} \ ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${CT_CC_VERSION} \ - ftp://ftp.uvsq.fr/pub/gcc/snapshots/${CT_CC_VERSION} + ftp://ftp.uvsq.fr/pub/gcc/snapshots/${CT_CC_VERSION} \ + "${CT_LINARO_BASE_URL}/${linaro_series}/${linaro_version}/+download/" # Starting with GCC 4.3, ecj is used for Java, and will only be # built if the configure script finds ecj.jar at the top of the
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |