Cross compiling Kafee for ARM SA1100 (Brutus board)
Nandana
nkuruwitage at sri.atpos.com
Mon Apr 3 22:45:33 PDT 2000
I am trying to cross compile kafee on to StrongArm development
environmentBrutus board (SA1100).
I am using gcc 2.95.2 it gives following error.
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config
-I../../../include -DKVER=\"1.0.5\"
-I/opt/ARM/lab/kaffe-1.0.5/./kaffe/kaffevm
-I/opt/ARM/lab/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads
-I../../../config -I../../../include -I/usr/local/include -g -O2 -Wall
-Wstrict-prototypes -c ObjectStreamClassImpl.c -fPIC -DPIC
-Wp,-MD,.deps/ObjectStreamClassImpl.TPlo -o ObjectStreamClassImpl.lo
In file included from ../../../kaffe/kaffevm/gtypes.h:17,
from ../../../kaffe/kaffevm/classMethod.h:15,
from ObjectStreamClassImpl.c:15:
../../../include/jtypes.h:36: #error "sizeof(int) or sizeof(long) must
be 4"
../../../include/jtypes.h:46: #error "sizeof(long long) or
sizeof(__int64) must be 8"
In file included from ../../../kaffe/kaffevm/classMethod.h:15,
from ObjectStreamClassImpl.c:15:
../../../kaffe/kaffevm/gtypes.h:44: #error "sizeof(short) must be 2"
../../../kaffe/kaffevm/gtypes.h:65: #error "sizeof(int) or sizeof(long)
must be 4"
../../../kaffe/kaffevm/gtypes.h:93: #error "sizeof(long) or sizeof(long
long) or sizeof(__int64) must be 8"
../../../kaffe/kaffevm/gtypes.h:101: #error "sizeof(void*) must be 4 or
8"
make[3]: *** [ObjectStreamClassImpl.lo] Error 1
make[3]: Leaving directory
`/opt/ARM/lab/kaffe-1.0.5/libraries/clib/native'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/ARM/lab/kaffe-1.0.5/libraries/clib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ARM/lab/kaffe-1.0.5/libraries'
make: *** [all-recursive] Error 1
has any one done this before.
Nandana
More information about the kaffe
mailing list