[kaffe] Kaffe porting on MIPS

NaveenYadav naveen.yadav at samsung.com
Fri Sep 8 04:55:59 PDT 2006


Hi ,

We are not able to proceed further any more.
On HOST Machine i am not able to connect with Nano-X
I am using Nano-X .90
and compile with config file config.X11(nanox)
I am compiling Kaffe 1.17 with below config
./configure --prefix=/home/naveen/jvm/native --with-awt=nanox --enable-pure-
java-math --disable-gtk-peer --without-esd --with-engine=intrp  --with-kaffe
-nanox-awt --with-nanox-include=/home/naveen/nanox/microwindows-0.91/src/inc
lude --with-nanox-library=/home/naveen/nanox/microwindows-0.91/src/lib --wit
hout-x --without-kaffe-x-awt --without-libffi --disable-xawt-xi18n --disable
-alsa --disable-sound --with-threads=unix-pthreads --without-classpath-gtk-a
wt

When i run Nano-X server ./nano-X , it will open Black window, then i lanch

 ./kaffe -vmdebug INIT , -Xkaffe-nanox-awt Example01
initCollector()
initCollector() done
initNativeThreads(0x10000)
Detected stackSize 1048576
initNativeThreads(0x10000) done
utf8ConstInit()
utf8ConstInit() done
initClasspath()
initClasspath() done, got
/home/naveen/jvm/cross/jre/lib/glibj.zip:/home/naveen/jvm/cross/lib/tools.ja
r
initNative()
got lpath /home/naveen/jvm/cross/jre/lib/mips:/home/naveen/jvm/cross/lib and
libraryPath /home/naveen/jvm/cross/jre/lib/mipsbtrying to load
/home/naveen/jvm/cross/jre/lib/mips/libjavalang
initNative() done
create names and signatures
done
naveen initBaseClasses()
initTypes()
initTypes() done
finishTypes()
finishTypes() done
check initBaseClasses() done
initTypes()
initTypes() done
finishTypes()
finishTypes() done
initBaseClasses() done
initExceptions()
initThreads()
initThreads() done
and it hangs here What may be reason ...
Attach My Nanox program..

It is running currectly if i run with following option
./java Example01


Naveen




----- Original Message ----- 
From: "Dalibor Topic" <robilad at kaffe.org>
To: "NaveenYadav" <naveen.yadav at samsung.com>
Cc: <kaffe at kaffe.org>; <Sakur.hwa at iasolution.net>
Sent: Saturday, September 02, 2006 6:32 PM
Subject: Re: [kaffe] Kaffe porting on MIPS


> On Sat, 2006-09-02 at 12:40 +0530, NaveenYadav wrote:
> > Hi ,
> >
> > Thanks I am able to port Basic kaffe on MIPS Target, and able to run
Hello
> > World program,
>
> Cool.
>
> > How can i attach Graphic to kaffe , We are using EDGE Graphics Library.
> > SO i could not able to found any document how to add Graphics Support..
>
> Graphics support is done through the class library. If you need Swing
> support, you need to use GNU Classpath's peers, otherwise you can use
> Kaffe's peerless AWT.
>
> If you, say, want to make GNU Classpath's AWT support EDGE, you have
> several choices:
>
> a) Find an AWT peer implementation for it and plug it into Kaffe (for
> example EDGE + SDL for EDGE (I don't know if it exists at all) + JSDL +
> Odonata)
> b) Write your own AWT peers from scratch
> c) Port one of the existing AWT peer backends (like gtk+) to EDGE
>
> cheers,
> dalibor topic
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example01.java
Type: application/octet-stream
Size: 1745 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20060908/0b037947/Example01.obj


More information about the kaffe mailing list