Hi~
I have a XScale(PXA 255) board.
I want to use kaffe on this board.
But, After porting I have error messages.
What do I commit a fault?
Do you recommend me a cross compiler and configure method and so on?


1. I take a kaffe-patch file for porting.
========== kaffe-patch ==========================================================================================
diff -urN kaffe-1.1.4.org/AutoConfig_Final kaffe-1.1.4/AutoConfig_Final
--- kaffe-1.1.4.org/AutoConfig_Final 1970-01-01 09:00:00.000000000 +0900
+++ kaffe-1.1.4/AutoConfig_Final 2004-08-10 15:38:59.000000000 +0900
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# This is auto configuration script for EZ-X5-board.
+# pleas, set some of arguments to complie
+
+ARM_QTDIR=/project/qt-arm
+QTDIR=${ARM_QTDIR}
+
+CROSS_PREFIX=arm-linux
+ARM_INSTALL_DIR=/mnt/kaffe
+
+CFLAGS="-D__XSCALE__" CC=${CROSS_PREFIX}-gcc CXX=${CROSS_PREFIX}-g++
KAFFEH=/usr/local/kaffe/bin/kaffeh ./configure --prefix=${ARM_INSTALL_DIR}
--build=i686-linux --host=arm-linux --enable-pure-java-math --with-rt-jar=/tmp/rt.jar
--enable-xscale --with-includes=/usr/armv5l-linux/include
--with-libraries=/usr/armv5l-linux/lib --disable-sound --disable-alsatest
--disable-edstest --without-x --with-awt=qt --with-qtdir=${ARM_QTDIR} -without-alsa
--without-esd
+perl -pi -e 's:compile_time run_time ::' test/regression/Makefile
diff -urN kaffe-1.1.4.org/include/jsyscall.h kaffe-1.1.4/include/jsyscall.h
--- kaffe-1.1.4.org/include/jsyscall.h 2003-08-30 23:18:23.000000000 +0900
+++ kaffe-1.1.4/include/jsyscall.h 2004-08-10 15:34:53.000000000 +0900
@@ -14,7 +14,7 @@
struct sockaddr;
struct timeval;
-struct fd_set;
+//struct fd_set;
struct stat;
struct hostent;

2. I have a arm-linux-gcc compiler 2.95.3 20010315 version.
========== arm-linux-gcc -v ========================================
Using builtin specs.
gcc version 2.95.3 20010315 (release)

3. When I configue, I use this configure options.
========== configure ========================================
CFLAGS="-D__XSCALE__" CC=arm-linux-gcc CXX=arm-linux-g++ KAFFEH=/usr/local/kaffe/bin/kaffeh ./configure --prefix=/mnt/kaffe --build=i686-linux --host=arm-linux --enable-pure-java-math --with-rt-jar=/tmp/rt.jar --enable-xscale --with-includes=/usr/arm-linux/include --with-libraries=/usr/arm-linux/lib --disable-sound --disable-alsatest --disable-edstest --without-x --with-awt=qt --with-qtdir=/project/qt-arm -without-alsa --without-esd

4. When I have it make, I have error messages.
========== error msg ================================================================================
configure:2489: arm-linux-gcc -D__XSCALE__ -I/usr/arm-linux/include conftest.c -L/usr/arm-linux/lib >&5
/tmp/cc8soIWp.s: Assembler messages:
/tmp/cc8soIWp.s:7: Warning: rest of line ignored; first ignored character is `@'
/tmp/cc8soIWp.s:8: Warning: rest of line ignored; first ignored character is `@'
/tmp/cc8soIWp.s:9: Error: too many memory references for `mov'
/tmp/cc8soIWp.s:10: Error: no such instruction: `stmfd sp!,{fp,ip,lr,pc}'
/tmp/cc8soIWp.s:11: Error: too many memory references for `sub'
/tmp/cc8soIWp.s:12: Error: expecting operand after ','; got nothing
/tmp/cc8soIWp.s:13: Error: too many memory references for `mov'
/tmp/cc8soIWp.s:14: Error: no such instruction: `ldmea fp,{fp,sp,pc}'



[인기 만화 편지지] 양영순,박소희,메가쑈킹~ 만화편지지로 재미있는 겨울을!
_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to