The following two patches will allow GCC to be built with a little endian
target where the default CPU is power5.  In particular, both of the libstc++-v3
and libgfortran libraries assumeed that any little endian powerpc system would
support IEEE 128-bit.  However, to support IEEE 128-bit, you need the VSX
register set, so the IEEE 128-bit support would give errors when compiled.

I have built GCC with these options on both little endian and big endian
systems, and there were no regressions.  I have also built a little endian
compiler using the --with-cpu=power5 option, and it built correctly.

-- 
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: meiss...@linux.ibm.com

Reply via email to