summaryrefslogtreecommitdiff
path: root/Tools/gcc
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-22 19:10:40 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-22 19:10:40 +0000
commit74ee4f7670bf35eb2d0af6afa8677d7e13b14362 (patch)
treef5c25e44534351b3dbb9e0d5de150ac2d8a4ff01 /Tools/gcc
parent17c3d4b04c2b02c790829bdd23ad1f2e646eea73 (diff)
downloadedk2-platforms-74ee4f7670bf35eb2d0af6afa8677d7e13b14362.tar.xz
Roll back to previous version of the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/gcc')
-rw-r--r--Tools/gcc/tianoCross-gcc-4.120
1 files changed, 11 insertions, 9 deletions
diff --git a/Tools/gcc/tianoCross-gcc-4.1 b/Tools/gcc/tianoCross-gcc-4.1
index 7dc8e41f9d..bef18436aa 100644
--- a/Tools/gcc/tianoCross-gcc-4.1
+++ b/Tools/gcc/tianoCross-gcc-4.1
@@ -12,7 +12,7 @@
# Specify the architectures for which the tools are to be built
# To build for single target: ARCHS="m68k"
#
-ARCHS="${ARCHS:-x86_64}"
+ARCHS="${ARCHS:-i386}"
# Let's be nice
renice 10 -p $$
@@ -23,16 +23,16 @@ set -e
#
# Specify the versions
#
-GCC=gcc-4.1.1
-BINUTILS=binutils-2.17
+GCC=gcc-4.1.0
+BINUTILS=binutils-2.16.1
# BINUTILS=binutils-2.16.91-20060119-1
CYGWIN_SNAP=20060403 # You may need to find a more recent one.
-export PATH=/bin:/usr/bin:/usr/local/bin
+export PATH=/bin:/usr/bin
#
# Where to install
#
-PREFIX="${PREFIX:-~/tiano/}"
+PREFIX="${PREFIX:-/opt/tiano/}"
#
# Where to get the GNU tools
@@ -98,7 +98,7 @@ CONF_SHELL="${CONF_SHELL:-/bin/bash}"
build() {
for arch in $ARCHS
do (
- export targ=${arch}-pc-mingw64
+ export targ=${arch}-tiano-pe
export pref=${PREFIX}${targ}
export PATH="${pref}/bin:$PATH"
@@ -106,7 +106,7 @@ build() {
cd build-binutils-$targ
"${CONF_SHELL}" "../${BINUTILS}/configure" \
--disable-nls "--target=${targ}" "--prefix=${pref}"
- ${MAKE} -j4 -w all
+ ${MAKE} -j1 -w all
${MAKE} -w install
) >> ${targ}.log 2>&1 &&
@@ -138,6 +138,8 @@ build() {
#
# Comment out any activities you wish to omit
#
-# getSource
-# unpackSource
+getSource
+unpackSource
build
+
+