[kaffe] Win CE port
robilad at kaffe.org
Thu Jan 19 07:48:14 PST 2006
On Thu, Jan 19, 2006 at 11:31:43AM +0100, Philippe Laporte wrote:
> Thanks for your answer.
> I'm usually a Unix guy wondering around the embedded Windows world.
> Dalibor Topic wrote:
> >Philippe Laporte wrote:
> >> Has anyone got some WinCE porting experiences to share?
> >Salut Philippe, Hallo Rainer,
> >Personally, I've got Kaffe's CVS HEAD from a few weeks ago to build
> >and run under Cygwin, though I had some problems in the interpreter
> >when I worked on it a few weeks ago. See FAQ.Win32 in CVS head for
> >details how to configure it and to get it build.
> Why does cygwin say they don't work on CE? Is there a branch soomewhere?
Oh, I am sorry for the misunderstanding, there is no Cygwin/CE that I am
aware of, I was using Cygwin on win32.
I believe that Rainer's got Win32/NT binaries of KaffeCE on his site,
though, too, so my assumption is that Win32 is not very far away from
WinCE in terms of behaviour or APIs necessary to port Kaffe. i.e. if you
can get Kaffe working fine on Cygwin and on Mingw32, it should not be
very hard to get it working fine on WinCE, then, either.
> Is there a bigger picture than POSIX/ANSI C dependencies being layered
> on CE vs Win 32?
Debian's pocketgcc for arm-wince-pe comes with newlib, which provides a
posixy libc for embedded platforms, afaik. You can get the package in
debian with apt-get install pocketgcc, I assume, and more information on
it is available from
http://packages.debian.org/unstable/devel/pocketpc-gcc. You can find
information on newlib on sources.redhat.com/newlib . Note that the above
toolchain is for windows CE devices using an ARM processor, if your
target device uses something else, you'll have to port the toolchain, or
find another one.
If you are interested in a command line JVM, that should be enough to
get you started, since Kaffe allows you to use its own portable
threading, jthreads on systems without pthreads. If you need graphical
output, you'll need to port additional support libraries too,
like X11, Gtk+ or Qt4, or to look at the Windows CE AWT backend in
> >>The link at http://www.rainer-keuchel.de/wince/kaffe.html, I'm not
> >>sure how good it is. CElib does not appear to be supported much...
> >I've CC:ed Rainer, he may be able to say more about its current status.
> >>What library did you use to achieve POSIX compatibility? What toolchain?
> >I've loooked around on the web a bit, and there is a pocketgcc
> >toolchain that uses newlib in Debian.  It's fro arm-wince-pe,
> >though, so you'd have to find another one if you have a MIPS or SuperH
> Can you give the link, please?
> Any other links to start with? I wouldn't imagine this to be so
> mysterious, or?
> Thanks a lot,
> Philippe Laporte
> Gatespace Telematics
> F?rsta L?nggatan 18
> 41328 G?teborg
> Phone: +46 702 04 35 11
> Fax: +46 31 24 16 50
> Email: philippe.laporte at gatespacetelematics.com
More information about the kaffe