[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

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

 ./kaffe -vmdebug INIT , -Xkaffe-nanox-awt Example01
initCollector() done
Detected stackSize 1048576
initNativeThreads(0x10000) done
utf8ConstInit() done
initClasspath() done, got
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
initNative() done
create names and signatures
naveen initBaseClasses()
initTypes() done
finishTypes() done
check initBaseClasses() done
initTypes() done
finishTypes() done
initBaseClasses() done
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


----- 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
> > 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://kaffe.org/pipermail/kaffe/attachments/20060908/0b037947/attachment-0001.obj 

More information about the kaffe mailing list