Hi! What's the reason why ppc-linux and s390-linux targetted GCC requires 64-bit HWI these days? If it is a native compiler, this means using long long in a huge part of the compiler and therefore slower compile times and bigger memory consumption. ppc-linux configured compiler (nor s390-linux) isn't multilibbed and ppc-linux only supports -m32 (s390-linux one apparently supports both -m31 and -m64 on the GCC side, but without multilibs it isn't very helpful). Say i386 or sparc-linux which also only support -m32 don't require 64-bit HWI, while if you target x86_64 or sparc64-linux which support both -m32 and -m64 obviously 64-bit HWI is required.
--- libcpp/configure.ac.jj 2005-10-28 23:13:40.000000000 +0200 +++ libcpp/configure.ac 2005-11-25 14:34:31.000000000 +0100 @@ -112,6 +112,8 @@ fi m4_changequote(,) case $target in + powerpc-*-linux*) + need_64bit_hwint=no ;; alpha*-*-* | \ arm*-*-*eabi* | \ arm*-*-symbianelf* | \ @@ -123,7 +125,7 @@ case $target in mmix-*-* | \ powerpc*-*-* | \ rs6000*-*-* | \ - s390*-*-* | \ + s390x-*-* | \ sparc64*-*-* | ultrasparc-*-freebsd* | \ sparcv9-*-solaris2* | \ sparc-*-solaris2.[789] | sparc-*-solaris2.1[0-9]* | \ --- libcpp/configure.jj 2005-10-28 23:13:40.000000000 +0200 +++ libcpp/configure 2005-11-25 14:34:40.000000000 +0100 @@ -8217,6 +8217,8 @@ fi case $target in + powerpc-*-linux*) + need_64bit_hwint=no ;; alpha*-*-* | \ arm*-*-*eabi* | \ arm*-*-symbianelf* | \ @@ -8228,7 +8230,7 @@ case $target in mmix-*-* | \ powerpc*-*-* | \ rs6000*-*-* | \ - s390*-*-* | \ + s390x-*-* | \ sparc64*-*-* | ultrasparc-*-freebsd* | \ sparcv9-*-solaris2* | \ sparc-*-solaris2.[789] | sparc-*-solaris2.1[0-9]* | \ --- gcc/config.gcc.jj 2005-11-19 09:27:16.000000000 +0100 +++ gcc/config.gcc 2005-11-25 14:29:30.000000000 +0100 @@ -294,7 +294,10 @@ mips*-*-*) powerpc*-*-*) cpu_type=rs6000 extra_headers="ppc-asm.h altivec.h spe.h" - need_64bit_hwint=yes + case ${target} in + powerpc-*-linux*) ;; + *) need_64bit_hwint=yes ;; + esac case x$with_cpu in xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345]|xrs64a) cpu_is_64bit=yes @@ -311,10 +314,13 @@ sparc64*-*-*) sparc*-*-*) cpu_type=sparc ;; -s390*-*-*) +s390x-*-*) cpu_type=s390 need_64bit_hwint=yes ;; +s390*-*-*) + cpu_type=s390 + ;; # Note the 'l'; we need to be able to match e.g. "shle" or "shl". sh[123456789lbe]*-*-*) cpu_type=sh Jakub