[kaffe] Win CE port

Dalibor Topic robilad at kaffe.org
Fri Jan 20 09:36:58 PST 2006


On Fri, Jan 20, 2006 at 05:06:51PM +0100, Philippe Laporte wrote:
> Hi,
> Should I understand that
> 
> pocketgcc
> 
> does not provide pthreads?

Hi Philippe,

I don't know, frankly, since I have never had to use it. It was just the only
pocketpc gcc toolchain I found to be packaged for Debian. If you happen
to find out if it supports pthreads or doesn't, I'd love to know, too.

> Where would I get it if I needed it for Win CE?
>

You'd have to ask that on a WinCE development mailing list :/

Note that you don't need pthreads for Kaffe in general, only if you
intend to use the AWT/Swing code. And if there are no pthreads for
WinCE, you could adapt GNU Classpath's native sync layer to Kaffe's
jthreads, which should let you execute the GUI code on jthreads as well.

cheers,
dalibor topic

> Thanks,
> 
> Philippe Laporte
> Software 
> 
> Gatespace Telematics
> F??rsta L??nggatan 18
> 41328 G??teborg
> Sweden
> Phone: +46 702 04 35 11
> Fax:   +46 31 24 16 50
> Email: philippe.laporte at gatespacetelematics.com
> 
> 
> 
> Dalibor Topic wrote:
> 
> >On Thu, Jan 19, 2006 at 11:31:43AM +0100, Philippe Laporte wrote:
> > 
> >
> >>Hi,
> >>   Thanks for your answer.
> >>
> >>I'm usually a Unix guy wondering around the embedded Windows world.
> >>
> >>   
> >>
> >
> >Salut Philippe,
> >
> > 
> >
> >>Dalibor Topic wrote:
> >>
> >>   
> >>
> >>>Philippe Laporte wrote:
> >>>
> >>>     
> >>>
> >>>>Hi,
> >>>> 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
> >Mysaify VM.
> >
> >cheers,
> >dalibor topic
> >
> > 
> >
> >>>>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. [1] It's fro arm-wince-pe, 
> >>>though, so you'd have to find another one if you have a MIPS or SuperH 
> >>>device.
> >>>     
> >>>
> >>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
> >>Software 
> >>
> >>Gatespace Telematics
> >>F?rsta L?nggatan 18
> >>41328 G?teborg
> >>Sweden
> >>Phone: +46 702 04 35 11
> >>Fax:   +46 31 24 16 50
> >>Email: philippe.laporte at gatespacetelematics.com
> >>
> >>
> >>   
> >>




More information about the kaffe mailing list