blob: 216e5c8f2592d9d21e3d71dcb2fe640a25a14b89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
SPELL=gcc
VERSION=4.9.2
PATCHLEVEL=0
BASE_SOURCE_URL="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$VERSION"
SOURCE=gcc-$VERSION.tar.bz2
SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
SOURCE_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE
SOURCE_URL[1]=${BASE_SOURCE_URL}/$SOURCE
SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
SOURCE_GPG=gnu.gpg:$SOURCE.sig:UPSTREAM_KEY
SOURCE2_IGNORE=signature
if [[ "$GCC_CLOOG" == "y" ]]; then
CLOOG_VERSION=0.18.1
SOURCE3=cloog-${CLOOG_VERSION}.tar.gz
SOURCE3_URL[0]=ftp://gcc.gnu.org/pub/gcc/infrastructure/${SOURCE3}
SOURCE3_HASH=sha512:0b12d9f3c39a2425e28e1d7c0a2b3787287fe3e6e3052f094d2ab6cffeb205ce19044100cbfd805659b3e6b3d21ac2f5a3c92848f476de54edfe6b1cbd2172e9
ISL_VERSION=0.12.2
SOURCE4=isl-${ISL_VERSION}.tar.bz2
SOURCE4_URL[0]=ftp://gcc.gnu.org/pub/gcc/infrastructure/${SOURCE4}
SOURCE4_HASH=sha512:b5dea4d6b504fac22f2d8cd9c47d6896994d3966635a514d45010243db44cfbc009574b808f3587f35d91de629110bc11b52941d4075e21f8646c59656e62aea
fi
if list_find "$GCC_COMPILER" "java"; then
SOURCE5=ecj-$(echo $VERSION|cut -f1,2 -d.).jar
SOURCE5_URL[0]=ftp://sourceware.org/pub/java/${SOURCE5}
SOURCE5_HASH=sha512:28f8c6fdbcb19e950b1d0bafb3bcc7a8cba87bc673aa6027cece116599cdee80f0cf5e95a1440544890239f5c754e8a93ab46d9daedd937faef445d7ea33b226
fi
if list_find "$GCC_COMPILER" "ada" ; then
# howto generate the ada bootstraper
# step 1: make a backup of your existing gcc cache you'll lose things like libstdc++
# step 2: modify sorcery CFLAGS to be generic x86_64 only
# step 3: cast -r gcc -> select c and ada
# step 4: wait
# step 5: after it's done copy the generated cache(named gcc-$VERSION-$HOST.tar.bz2)
# to ada-$VERSION-$HOST.tar.bz2
# step 7: update version under the right field and test cast gcc with ada enabled
# step 8: cast something ada dependant AND RUN IT
# step 9: if it all works then upload the cache generated under step 5 somewhere
# bug someone to put it in the right place if you don't have access
# step 10: restore your old gcc cache and resurrect it
#
case "${SMGL_COMPAT_ARCHS[1]}" in
x86_64) VERSION13=4.9.1 ARCH13=x86_64 ;;
*) VERSION13=4.7.1 ARCH13=i686 ;;
esac
SOURCE13=ada-$VERSION13-$ARCH13-pc-linux-gnu.tar.bz2
SOURCE13_URL[0]=http://download.sourcemage.org/distro/$SOURCE13
SOURCE13_GPG="gurus.gpg:$SOURCE13.sig:VERIFIED_UPSTREAM_KEY"
SOURCE14=$SOURCE13.sig
SOURCE14_URL[0]=${SOURCE13_URL[0]}.sig
SOURCE14_IGNORE=signature
fi
LICENSE[0]=GPL
TMPFS=off
WEB_SITE=http://gcc.gnu.org/
KEYWORDS="compiler"
ENTERED=20040420
SHORT="the GNU C compiler collection"
DOCS="$DOCS INSTALL"
cat << EOF
The entire GNU C Compiler collection.
EOF
|