[kaffe] AIX, PPC and endianness isues

Riccardo riccardo at kaffe.org
Wed Apr 5 00:29:34 PDT 2006


Hello,

I was trying to compile kaffe on AIX 4.2 with gcc on PowerPC. The setup  
is similar to the one I used at home where I experienced also  
endianness issues which I fixed at the time, I did not check if  
classpath "lost" my fixes, if they were never commited. At home I had a  
POWER cpu, here it is a PPC, also here I am using gcc3 and not gcc2.  
Unfortunately here I at the office I always have little time to dig in  
these tricky issues.

The error I get is:

  gcc -DHAVE_CONFIG_H -I.  
-I../../../../../../../kaffe/libraries/javalib/external/classpath/ 
native/fdlibm -I../../include -g -O2 -Wall -W -Wextra -fsigned-char  
-mpowerpc -MT dtoa.lo -MD -MP -MF .deps/dtoa.Tpo -c  
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/dtoa.c  -DPIC -o .libs/dtoa.o
In file included from  
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/mprec.h:34,
                  from  
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/dtoa.c:29:
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/ieeefp.h:159:2: #error Endianess not declared!!
In file included from  
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/dtoa.c:29:
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/mprec.h:78: error: syntax error before "one"
../../../../../../../kaffe/libraries/javalib/external/classpath/native/ 
fdlibm/mprec.h:78: warning: type defaults to `int' in declaration of  
`IEEE_8087'

cheers,
   Riccardo





More information about the kaffe mailing list