The problems for cross-compiling Kaffe

Edouard G. Parmelan kaffe@rufus.w3.org
Sat, 21 Apr 2001 19:40:33 +0200


yewang@eng.auburn.edu wrote:

> 1)There is an error is config.log: 
> 
> configure:6008: checking whether the C++ compiler (/usr/bin/mipsel-linux-c++ ) 
> works 

C++ compiler is checked for GCJ support.  Your ld program don't find
stdc++ library.  I guess you don't have installed cross libstdc++
library.  If you don't want see this error again, configure with option
--disable-gcj.

> 2) when I tried to cross-compile: 
> ../../../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" 

You must define av_cv_sizeof_* in your config.cache or in a config.frag
file.
-- 
Edouard G. Parmelan
http://egp.free.fr