Cross compiling Kafee for ARM SA1100 (Brutus board)

Edouard G. Parmelan Edouard.Parmelan at quadratec.fr
Tue Apr 4 01:29:05 PDT 2000


Hi Nandana,

> I am trying to cross compile kafee on to StrongArm development

> ../../../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

With cross-compiling, configure can't guest sizeof(), you should provide
a config.frag file as for OSKit in config/i386/oskit/config.frag

You may also prefers build a config.cache file with same values.

Hope this help.
-- 
Edouard G. Parmelan
http://egp.free.fr


More information about the kaffe mailing list