Browse Source

* sample configuration script generates powerpc* multiarch library load path configuration

git-svn-id: trunk@11247 -
tom_at_work 17 years ago
parent
commit
c6fba4f390
1 changed files with 6 additions and 0 deletions
  1. 6 0
      compiler/utils/samplecfg

+ 6 - 0
compiler/utils/samplecfg

@@ -106,6 +106,12 @@ case $HOSTOS in
         GCCDIR4="$GCCDIR"
         GCCDIR4="$GCCDIR"
         setgccdirarch cpux86_64 -m64
         setgccdirarch cpux86_64 -m64
         ;;
         ;;
+      powerpc|powerpc64)
+      # Allow for the possibility of both 32 and 64 bit compilation on same system
+        setgccdirarch cpupowerpc -m32
+	GCCDIR4="$GCCDIR"
+	setgccdirarch cpupowerpc64 -m64
+	;;
       # Add cases for other linux dual architectures here
       # Add cases for other linux dual architectures here
       *) singlearch # Default          
       *) singlearch # Default          
         ;;
         ;;