X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2Fgcc%2FtianoCross-gcc-4.1;h=7dc8e41f9dcfa863d2e4750bdf67e7593d4195f2;hp=240c32632d956fe3ca1843004b814c70a7e6e8d5;hb=17c3d4b04c2b02c790829bdd23ad1f2e646eea73;hpb=ba2c7375282982a65d7eb618e437480dcf18fd5b;ds=sidebyside diff --git a/Tools/gcc/tianoCross-gcc-4.1 b/Tools/gcc/tianoCross-gcc-4.1 index 240c32632d..7dc8e41f9d 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:-i386}" +ARCHS="${ARCHS:-x86_64}" # Let's be nice renice 10 -p $$ @@ -23,16 +23,16 @@ set -e # # Specify the versions # -GCC=gcc-4.1.0 -BINUTILS=binutils-2.16.1 +GCC=gcc-4.1.1 +BINUTILS=binutils-2.17 # BINUTILS=binutils-2.16.91-20060119-1 CYGWIN_SNAP=20060403 # You may need to find a more recent one. -export PATH=/bin:/usr/bin +export PATH=/bin:/usr/bin:/usr/local/bin # # Where to install # -PREFIX="${PREFIX:-/opt/tiano/}" +PREFIX="${PREFIX:-~/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}-tiano-pe + export targ=${arch}-pc-mingw64 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} -j1 -w all + ${MAKE} -j4 -w all ${MAKE} -w install ) >> ${targ}.log 2>&1 && @@ -138,6 +138,6 @@ build() { # # Comment out any activities you wish to omit # -getSource -unpackSource +# getSource +# unpackSource build