diff -r db48fd40bdb9 -r 89b41dbffe8d scripts/build/cc_gcc.sh --- a/scripts/build/cc_gcc.sh Tue May 01 09:03:40 2007 +0000 +++ b/scripts/build/cc_gcc.sh Mon May 07 09:04:02 2007 +0000 @@ -2,6 +2,26 @@ # Copyright 2007 Yann E. MORIN # Licensed under the GPL v2. See COPYING in the root of this package +# Download final gcc +do_cc_get() { + # 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. :-( + # Arrgghh! Some of those versions does not follow this convention: + # gcc-3.3.3 lives in releases/gcc-3.3.3, while gcc-2.95.* isn't in a + # subdirectory! You bastard! + CT_GetFile "${CT_CC_FILE}" \ + ftp://ftp.gnu.org/gnu/gcc/${CT_CC_FILE} \ + ftp://ftp.gnu.org/gnu/gcc/releases/${CT_CC_FILE} \ + ftp://ftp.gnu.org/gnu/gcc +} + +# Extract final gcc +do_cc_extract() { + CT_ExtractAndPatch "${CT_CC_FILE}" +} + +# Build final gcc do_cc() { CT_DoStep INFO "Installing final compiler"