FreeBSD Java porting project questions

Greg Lewis glewis at eyesbeyond.com
Wed Jul 7 13:29:35 PDT 2004


On Wed, Jul 07, 2004 at 11:07:07PM +0300, Alexey Zelkin wrote:
> On Wed, Jul 07, 2004 at 11:38:04AM -0600, Greg Lewis wrote:
> > On Wed, Jul 07, 2004 at 10:54:09PM +0700, Mikhail TSaplin wrote:
> > > I have some questions about this freebsd port.
> > > 1)Why we need linux jdk, when building a native distr?
> > >   Is that necesarily to build compiler with classes semultaneusly?
> > 
> > Just like gcc needs a C compiler to bootstrap itself, javac needs another
> > java compiler to bootstrap itself (as its written in Java).  So far, we
> > have used the Linux version to bootstrap unless an existing native version
> > is available.  It may be possible to use Jikes, but there would need to be
> > some patches to the build to achieve this.  This may become necessary for
> > the 5.0 (aka 1.5) port as the Linux version doesn't currently run under
> > emulation.
> 
> It always was possible to use previous release of jdk to bootstrap next
> one.  As my expirement shown-- it's possible to use jdk 1.4.2 to bootstrap
> of jdk 1.5.0.  So, it should not be a problem.

I think thats usually true up to a point, but I was under the impression
that at some stage in the development they usually cutover to requiring
the same version to do the bootstrapping.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list