Hello all,
I've tried to build gcc-4.2.2 cross to E500 target,
configured with "--target=powerpc-linux-gnuspe
--disable-multilib --with-newlib --with-cpu=8540
--enable-cxx-flags=-mcpu=8540 --enable-e500_double"
but failed with the following message:
...
In file included from
/work/psl/tmp/crosstool-0.43/build/powerpc-linux-gnuspe/gcc-4.2.2-glibc-20070515T2025/gcc-4.2.2/gcc/config/rs6000/darwin-ldouble.c:370:
/work/psl/tmp/crosstool-0.43/build/powerpc-linux-gnuspe/gcc-4.2.2-glibc-20070515T2025/gcc-4.2.2/gcc/config/soft-fp/quad.h:63:
error: unable to emulate 'TF'
make[2]: *** [libgcc/./darwin-ldouble.o] Error 1
The same result without --enable-e500_double.
Gcc 4.2.2 release sources are patched with the Joseph S. Myers
patch for E500 long double support
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01388.html
Any help will be appreciated.
Thanks,
Sergei