Subversion Repositories HelenOS

Rev

Rev 3424 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3424 Rev 3425
Line 13... Line 13...
13
    echo "Script failed: $2"
13
    echo "Script failed: $2"
14
    exit
14
    exit
15
    fi
15
    fi
16
}
16
}
17
 
17
 
-
 
18
if [ -z "${CROSS_PREFIX}" ] ; then
-
 
19
    CROSS_PREFIX="/usr/local"
-
 
20
fi
-
 
21
 
18
BINUTILS_VERSION="2.18"
22
BINUTILS_VERSION="2.18"
19
GCC_VERSION="4.3.1"
23
GCC_VERSION="4.3.2"
20
 
24
 
21
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
25
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
22
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
26
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
23
GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
27
GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
24
GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
28
GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
Line 27... Line 31...
27
GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/"
31
GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/"
28
 
32
 
29
PLATFORM="ia64"
33
PLATFORM="ia64"
30
WORKDIR=`pwd`
34
WORKDIR=`pwd`
31
TARGET="${PLATFORM}-pc-linux-gnu"
35
TARGET="${PLATFORM}-pc-linux-gnu"
32
PREFIX="/usr/local/${PLATFORM}"
36
PREFIX="${CROSS_PREFIX}/${PLATFORM}"
33
INCLUDESDIR="${WORKDIR}/include"
37
INCLUDESDIR="${WORKDIR}/include"
34
BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
38
BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
35
GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
39
GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
36
OBJDIR="${WORKDIR}/gcc-obj"
40
OBJDIR="${WORKDIR}/gcc-obj"
37
 
41