RE: Problem building OpenJDK on a set-top box

2008-03-23 Thread Ted Neward
As the build docs state, you need a working version of Java in order to build the JDK--this is called "bootstrapping". There was some traffic on this list a few days ago about doing exactly the same thing, and some of the discussion there suggested using IcedTea to do the build, since (apparently)

Re: Problem building OpenJDK on a set-top box

2008-03-20 Thread Gary Benson
It would be possible, but rather than writing CPU-specific compiler ports the idea is to use something like libjit to add a generic one. Cheers, Gary Jonathan Springer wrote: > That's good progress, being able to build itself. I should take a > look at it. It's still going to be interpreter-onl

Re: Problem building OpenJDK on a set-top box

2008-03-20 Thread Jonathan Springer
That's good progress, being able to build itself. I should take a look at it. It's still going to be interpreter-only (without porting), right? Would it still be possible to add a compiler port (c1, opto) on top of it? Thanks, -Jonathan Gary Benson wrote: Hi Jonathan, IcedTea (icedtea6

Re: Problem building OpenJDK on a set-top box

2008-03-20 Thread Andrew Haley
Gary Benson wrote: > Hi Jonathan, > > IcedTea (icedtea6 anyhow) has the zero-assembler port which should > build out of the box on any linux/gcc platform. I say should, because > it's new and we're still working out kinks, but it works enought to > build itself on 32- and 64-bit PowerPC, I've had

Re: Problem building OpenJDK on a set-top box

2008-03-20 Thread Gary Benson
Hi Jonathan, IcedTea (icedtea6 anyhow) has the zero-assembler port which should build out of the box on any linux/gcc platform. I say should, because it's new and we're still working out kinks, but it works enought to build itself on 32- and 64-bit PowerPC, I've had reports of it working on zSeri

Re: Problem building OpenJDK on a set-top box

2008-03-19 Thread Jonathan Springer
Beyond just getting it to build, to Hotspot uses a fair amount of machine code internally, which would have to be retargeted to the SuperH ISA to get it to run. IcedTea helps, but my understanding is that there would still be probably a few months of work required to support a new CPU. -Jonat

Re: Problem building OpenJDK on a set-top box

2008-03-19 Thread Gary Benson
Hi Olivier, OpenJDK does indeed require java to build, but that aside there is the issue that HotSpot does not support the sh4 processor. Check out IcedTea instead (http://icedtea.classpath.org/) which has a) the ability to bootstrap with gcj, and b) support for building on platforms with no HotSp