<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#e0e0e0>
<DIV><FONT size=2>I've attached a single document - part of article that
describes how to create embedded arm distribution (along with cross-compilers)
with java support (kaffe).</FONT></DIV>
<DIV><PRE>---------------------------------------------------------------
ProSyst Bulgaria Ltd. Valentin Valchev
48 Vladajska Str. Project Manager
Sofia 1606, Bulgaria Dept: mBedded Server/Broadband
<A href="http://www.prosyst.com/" target=_blank>http://www.prosyst.com/</A> Phone: +359 02 (9631394) 223
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
</PRE></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jyothi@ncoretech.com href="mailto:jyothi@ncoretech.com">Jyothi</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kaffe@rufus.w3.org
href="mailto:kaffe@rufus.w3.org">kaffe@rufus.w3.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 15, 2001 2:17
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> problems while compiling in Arm
processor</DIV>
<DIV><BR></DIV><BR>Hi,<BR><BR>I am having problems while cross compiling kaffe
to ARM processor...<BR><BR>I configured with<BR><BR>CC=arm-linux-gcc
./configure --host=i686-arm --target=arm-linux<BR>--with-x
--x-includes=/skiff/local/arm-linux/include<BR>--x-libraries=/skiff/local/arm-linux/lib/X11
--disable-nls<BR><BR>it configured fine but when I ran the makefile it gave me
error in<BR>machine.c in jit3 directory.....<BR>machine.c.195: inconsistent
constraints for operand in an 'asm'<BR><BR>I changed the Makefile in config
directorty. In Makefile I changed all<BR>i386 to arm.. and then ran make
again. But of no use.<BR><BR>I saw the FAQ.profilier and thought it is just
for timing purposes and<BR>then commented the
line<BR>profiler_get_clicks(xmeth->jitclicks);<BR>and ran I got few more
error like above wherever profiler functions were<BR>there... so I commented
them and then ran. but it gave an<BR>error<BR><BR>Error: bad instruction
:'call soft_fixup_trampoline'<BR><BR>I have attached the
error file...<BR><BR>So How should I compile this ???<BR><BR>I saw the <A
href="http://www.kaffe.org/archieves">www.kaffe.org/archieves</A> and saw they
have configured with<BR>host=arm-linux . So I did the same and make went fine
and then i<BR>installed it in /usr/local... But when i try to run the
Helloworld.java<BR>on arm processor it says<BR>cannot find library
"libnative" in the
path<BR>/usr/local/lib/kaffe:/usr/local/lib:/usr/lib:/lib<BR><BR>Even though
the library libnative.so.* and libnative.a are there in
path<BR>/usr/local/lib/kaffe , it is continuously giving this error...<BR>When
I do "arm-linux-strip libnative*", it says Warning : Output file<BR>cannot
represent architecture UNKNOWN!!<BR><BR>Please tell me what is wrong and what
all u need to run basic java<BR>program on any machine.<BR><BR>Is there any
document for cross compiling kaffe for arm. Is my configure<BR>correct ?..
what is this profiling used for ???..<BR><BR>Please tell me the exact
procedure for cross compiling kaffe for arm<BR>processor !!<BR><BR>thanks in
advance,<BR>Jyothi.<BR><BR></BLOCKQUOTE></BODY></HTML>