On 11/02/11 19:07, Rainer Orth wrote: > Michael Haubenwallner <michael.haubenwall...@salomon.at> writes: > >> Especially as i386 (from config.guess) is the default too. > > No, it's not, you're confusing the configure triplet with the default > 32-bit arch. Since GCC 4.6, the default for Solaris/x86 is pentiumpro > for Solaris 8/9 and pentium4 for Solaris 10 and beyond > (cf. gcc/config.gcc).
I've meant the default "i386-pc-solaris2.*" target triplet from config.guess, not the default 32bit arch - which always is some pentium as I've expected (and tried to say before). Reading [1], it really doesn't make any difference on Solaris to configure for "i386-pc-solaris2.*" or (up to) "i786-pc-solaris2.*" target triplet, the 32bit arch default is controlled by the solaris version (and '--with-arch-32') only. But yes, for platforms not explicitly specifying a default $with_arch_32, that default value is calculated [2] from the cpu-part of the target-triplet. [1] http://gcc.gnu.org/viewcvs/trunk/gcc/config.gcc?view=markup&pathrev=180775#l1312 [2] http://gcc.gnu.org/viewcvs/trunk/gcc/config.gcc?view=markup&pathrev=180775#l2831 /haubi/