Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (13 sloc) 558 Bytes
HOST_OS=`uname -s | tr '[:upper:]' '[:lower:]'`
if [ "$HOST_OS" != "linux" ] ; then
echo "ERROR: The gcc this script points to can only run on linux"
exit 1
PROGNAME=`basename $0`
options=" ${@} " # sentinel prefix/suffix space to simplify pattern match below
suffix_m32=${options##* -m32 } # suffix after the last -m32
len_m32=${#suffix_m32} # length of suffix after the last -m32
MY_TOOL=`dirname $0`/${PREFIX32}-${PROGNAME}
$MY_TOOL "$@"
Something went wrong with that request. Please try again.