<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I want to install kaffe on an xscale board.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>what I have done is:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>export CC=arm-linux-gcc<BR>export AS=arm-linux-as<BR>export 
LD=arm-linux-ld<BR>export CPP='arm-linux-gcc -E'<BR>export 
AR=arm-linux-ar<BR>export NM=arm-linux-nm<BR>export 
STRIP=arm-linux-strip<BR>export OBJCOPY=arm-linux-objcopy<BR>export 
OBJDUMP=arm-linux-objdump<BR>export RANLIB=arm-linux-ranlib<BR>export 
QTDIR=/usr/local/qt-2.3.2<BR>export QTEDIR=$QTDIR <BR>export 
QPEDIR=/usr/local/qtopia-free-1.5.0<BR>export 
KAFFEH=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin/kaffeh<BR>export 
LD_LIBRARY_PATH=/usr/local/qt-2.3.2/lib:/usr/local/qtopia-free-1.5.0/lib:$LD_LIBRARY_PATH<BR>export 
PATH=$QTDIR/bin:$PATH<BR>export 
PATH=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin:$PATH<BR>export 
PATH=$QPEDIR/bin:$PATH </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Then</FONT></DIV>
<DIV><FONT size=2>./configure 
--prefix=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe --build=i386-linux 
--host=arm-linux CC=arm-linux-gcc CXX=arm-linux-g++ CPP='arm-linux-gcc -E' 
--with-qtdir=/usr/local/qt-2.3.2 --with-awt=qt 
--with-includes=/usr/local/qtopia-free-1.5.0/include 
--with-libraries=/usr/local/qtopia-free-1.5.0/lib --without-x --target=arm-linux 
--enable-pure-java-math --disable-esdtest --without-esd 
--with-cpu=xscale</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>The message showed to me is:</FONT></DIV>
<DIV><FONT size=2>arm-linux-g++ -shared -nostdlib 
/usr/local/arm-linux/arm-linux/lib/crti.o 
/usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3/crtbeginS.o&nbsp; .libs/tlk.o 
.libs/wnd.o .libs/evt.o .libs/gra.o .libs/fnt.o .libs/clr.o .libs/img.o 
.libs/cbd.o .libs/evt.moc.o&nbsp; -Wl,--rpath 
-Wl,/usr/local/qtopia-free-1.5.0/lib -L/usr/local/qt-2.3.2/lib -lqpe -lqtopia 
-lqte-mt -L/usr/local/qtopia-free-1.5.0/lib 
-L/usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3 
-L/usr/local/arm-linux/arm-linux/lib -lstdc++ -lm -lc -lgcc 
/usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3/crtendS.o 
/usr/local/arm-linux/arm-linux/lib/crtn.o&nbsp; -Wl,-soname -Wl,libawt-1.1.4.so 
-Wl,-retain-symbols-file -Wl,.libs/libawt.exp -o 
.libs/libawt-1.1.4.so<BR>/usr/local/arm-linux/arm-linux/bin/ld: cannot find 
-lqtopia</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I find the makefile, and tried to add 
"-L/usr/local/qtopia-free-1.5.0" before -lqtopia, but not work.</FONT></DIV>
<DIV><FONT size=2>I also tried to delete "-lqtopia", then another error 
occurs:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>make[3]: Entering directory 
`/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/test/regression/compile_time'<BR>/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/kaffe/kaffe/kaffe-bin: 
line 105: 
/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/kaffe/kaffe/.libs/lt-kaffe-bin: 
cannot execute binary 
file<BR>/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/kaffe/kaffe/kaffe-bin: 
line 105: 
/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/kaffe/kaffe/.libs/lt-kaffe-bin: 
pass</FONT></DIV>
<DIV><FONT size=2>make[3]: *** [ClassToInterface.class] Error 1<BR>make[3]: 
Leaving directory 
`/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/test/regression/compile_time'<BR>make[2]: 
*** [all-recursive] Error 1<BR>make[2]: Leaving directory 
`/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/test/regression'<BR>make[1]: 
*** [all-recursive] Error 1<BR>make[1]: Leaving directory 
`/home/sitsang/tmp/sitsang_fs/home/wangkai/kaffe-1.1.4/test'<BR>make: *** 
[all-recursive] Error 1<BR></DIV></FONT>
<DIV><FONT size=2>Since I use arm-linux-gcc to compile kaffe, the final 
executable file certainly cannot be executed in PC linux.</FONT></DIV>
<DIV><FONT size=2>But I still wonder if these files is the ones I 
want.</FONT></DIV>
<DIV><FONT size=2>And this step of make looks like a porcess of checking, 
maybe&nbsp;the&nbsp;error comes from the unexecutable file. If so, how can I 
stop the check process?</DIV></FONT></BODY></HTML>