StrongARM Kaffe configured , but incorrect.

shsun01 kaffe@rufus.w3.org
Mon, 26 Nov 2001 15:28:57 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0036_01C1768F.1063EE70
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi,=20
I want to make a ARM Kaffe to put on StrongARM's machine.
At first,I make a X86's kaffeh successfully.
Next i changed environment varables ,i Configured it
,it was successful. Next Step is the "make clean"  and
moved executable kaffeh to  "linux/jvm/kaffe/kaffeh", and
"make;make install",it looks like no problem.

Then i tried it on arm-linux platform, so i used
minicom connect to arm that booted by flash rom.
and used ethernet network mount my make results for Linux OS of ARM.

ok ,when it done ,I compiled a very simple java program "$javac
HelloWorld.java",it takes about 10 minutes,
but it accomplished, I got the HelloWorld.class .
When i executed the result "$java HelloWorld", it
would run for a long time , and return error message:

java.lang.ClassNotFoundexception.......

i confused , because about this message my experience is CLASSPATH not =
found.
but when i modified /mnt/kaffe/bin/kaffe and appended "echo =
$CLASSPATH",i can
see all of the jar files in /mnt/kaffe/share/kaffe showed.

second,why it so slowly even i tried "$/mnt/kaffe/bin/kaffe HelloWorld" =
.=20
what kind of issue cause this situation,OS memory,or Make error.....???

best regards

william
----------platform =
-----------------------------------------------------------------------
StrongARM based machine : applieddata 's Graphic Master
RAM:16 MB
flash ROM:32MB (kernel 2.2.

--------environment variable setting of mine -------------------

My conifgure plateform is X86 RedHat linux 2.2.17,
configure command is ./configure --prefix=3D/mnt/kaffe
--build=3Di386-linux host=3Darm-linux --without-x

i changed my environment variables for arm
instruction,
...................................................
./bash_profiel changed to=20
export CC=3Darm-linux
export GCC=3D'arm-linux-gcc -E'
export AR=3Darm-linux-ar
export LD=3Darm-linux-ld
export STRIP=3Darm-linux-strip
export OBJCOPY=3Darm-linux-objcopy
export OBJDUMP=3Darm-linux-objdump
export RANLIB=3Darm-linux-ranlib
export
PATH=3D/usr/local/arm/bin:/usr/loca/arm/arm-linux/bin:$PATH
and source ~root/.bash_profile



------=_NextPart_000_0036_01C1768F.1063EE70
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Hi, </DIV>
<DIV>I want to make a ARM Kaffe to put on StrongARM's machine.<BR>At =
first,I=20
make a X86's kaffeh successfully.<BR>Next&nbsp;i changed environment =
varables ,i=20
Configured it<BR>,it was successful. Next Step is the "make clean"&nbsp; =

and<BR>moved executable kaffeh to&nbsp; "linux/jvm/kaffe/kaffeh",=20
and<BR>"make;make install",it looks like no problem.<BR><BR>Then=20
i&nbsp;tried&nbsp;it on arm-linux platform, so i used<BR>minicom connect =
to arm=20
that booted by flash rom.<BR>and used ethernet network mount my make =
results=20
for&nbsp;Linux OS of ARM.<BR><BR>ok ,when it done ,I&nbsp;compiled a =
very simple=20
java program "$javac<BR>HelloWorld.java",it takes about 10 =
minutes,</DIV>
<DIV>but it accomplished, I got the HelloWorld.class .<BR>When i =
executed the=20
result "$java HelloWorld", it<BR>would run for a long time , and return =
error=20
message:<BR><BR>java.lang.ClassNotFoundexception.......</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>i confused , because about this message my =
experience is=20
CLASSPATH not found.</FONT></DIV>
<DIV><FONT size=3D2>but when i modified /mnt/kaffe/bin/kaffe and=20
appended&nbsp;"echo $CLASSPATH",i can</FONT></DIV>
<DIV><FONT size=3D2>see all of the jar files in /mnt/kaffe/share/kaffe=20
showed.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>second,why it so slowly even i tried =
"$/mnt/kaffe/bin/kaffe=20
HelloWorld" . </FONT></DIV>
<DIV><FONT size=3D2>what kind of issue cause this situation,OS memory,or =
Make=20
error.....???</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>best regards</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>william</FONT></DIV>
<DIV><FONT size=3D2>----------platform=20
-----------------------------------------------------------------------</=
FONT></DIV>
<DIV><FONT size=3D2>StrongARM&nbsp;based machine : applieddata 's =
Graphic=20
Master</FONT></DIV>
<DIV><FONT size=3D2>RAM:16 MB</FONT></DIV>
<DIV><FONT size=3D2>flash ROM:32MB (kernel =
2.2.</FONT><BR><BR>--------environment=20
variable setting of mine -------------------<BR><BR>My conifgure =
plateform is=20
X86 RedHat linux 2.2.17,<BR>configure command is ./configure=20
--prefix=3D/mnt/kaffe<BR>--build=3Di386-linux host=3Darm-linux =
--without-x<BR><BR>i=20
changed my environment variables for arm<BR>instruction,</DIV>
<DIV>...................................................<BR>./bash_profie=
l=20
changed to <BR>export CC=3Darm-linux<BR>export GCC=3D'arm-linux-gcc =
-E'<BR>export=20
AR=3Darm-linux-ar<BR>export LD=3Darm-linux-ld<BR>export=20
STRIP=3Darm-linux-strip<BR>export OBJCOPY=3Darm-linux-objcopy<BR>export=20
OBJDUMP=3Darm-linux-objdump<BR>export=20
RANLIB=3Darm-linux-ranlib<BR>export<BR>PATH=3D/usr/local/arm/bin:/usr/loc=
a/arm/arm-linux/bin:$PATH<BR>and=20
source ~root/.bash_profile<BR><BR></DIV></BODY></HTML>

------=_NextPart_000_0036_01C1768F.1063EE70--