1) Use cross-binutils' as instead of /usr/bin/as 2) Fix the error message for added_gxx - jer@gentoo.org (bug #275756) --- icecc-0.9.4/client/icecc-create-env.orig 2009-02-15 14:36:50.000000000 +0100 +++ icecc-0.9.4/client/icecc-create-env 2009-06-29 00:04:42.000000000 +0200 @@ -79,6 +79,8 @@ added_gcc=$1 shift added_gxx=$1 +shift +added_as=$1 if test -z "$added_gcc" || test -z "$added_gxx"; then echo "usage: $0 " @@ -91,13 +93,18 @@ fi if ! test -x "$added_gxx" ; then - echo "'$added_gcc' is no executable." + echo "'$added_gxx' is no executable." + exit 1 +fi + +if ! test -x "$added_as" ; then + echo "'$added_as' is no executable." exit 1 fi add_file $added_gcc /usr/bin/gcc add_file $added_gxx /usr/bin/g++ -add_file /usr/bin/as +add_file $added_as /usr/bin/as if test "$is_darwin" = 1; then # add dynamic linker