[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java on HURD, success



On Fri, Jan 07, 2000 at 02:33:23PM +0100, Edouard G. Parmelan wrote:
> X-post on debian-java and debian-hurd, sorry for that :(
> 
> Igor Khavkine wrote:
> 
> > I got the Kaffe-1.0.5 source from www.transvirtual.com, and of 
> > course it didn't compile right out of the box. First I had to get 
> > configure to recognise the i386-gnu system type. Then I tried to 
> > prallel the architecture dependent initalization code from linux. 
> 
> Could checkout kaffe from cvs.kaffe.org ?  And send me a diff with
> your changes ?
> 
> > BTW, how does one go about putting file descriptors in async mode?
> 
> In unix-jthread, all file descriptors are set in asynchronous mode to
> block on thread, not on whole process.
> 
> > So, any suggestions as to the problems  stated above? especially 
> > about threads, how's that pthreads implementation coming?
> 
> Quoted from FAQ/FAQ.pthread:
> 
> Kaffe can now make use of native threads (currently only Linux pthreads).
> To enable this add the following option to configure:
> 
>         --with-threads=unix-pthreads
> 
> Note that this will only work with GLIBC 2.1.2 or later.

I haven't tried getting kaffe from CVS yet, i have a patch to the 1.0.5 
version at http://alcor.concordia.ca/~i_khavki/kaffe.diff . I tried to post a 
message about that sooner but I had problems posting to the debian-hurd list. 
Plus I haven't had time to do more work on Kaffe since I'm back at school this 
week. However, I also tried compiling jikes and jikespg packages for the Hurd. 
jikespg compiled without problems and jikes needed a patch which has already 
been merged with the upstream source (Marcus, you can add those packages to 
the binaries archive). As for using unix-pthreads, again I haven't tried that 
but I don't think the Hurd's glibc includes thread support since Linuxthreads
is linux specific.
I'll still try to work out a patch for the CVS version of Kaffe and try 
compiling it with unix-pthreads.

Igor


Reply to: