building JDK for new platform
Robert Pangrazio
rpangrazio at gmail.com
Fri Aug 17 19:21:06 UTC 2007
I was thinking that would be the case. I just didn't even know how to
build it to test the code. It seemed that I was caught in the Chicken
or the Egg problem. I am going to try this RiscOS project as I tries
to translate from Linux calls to RiscOS calls. I am not holding my
breath or anything. Can't hurt much to try it though.
Thanks for the advice, and the help
Bob
On 8/17/07, Gary Benson <gbenson at redhat.com> wrote:
> There's a lot of platform-specific stuff that will still need
> adding. Look in hotspot/src/cpu and hotspot/src/os_cpu -- you
> basically need to write everything in their for your platform.
>
> Cheers,
> Gary
>
> Robert Pangrazio wrote:
> > Well I will look into that. I think that some more detail maybe
> > necessary. I am thinking of building for RiscOS. There is a really
> > nice project that allows you to compile programs written for linux,
> > on a linux machine, to run on a RiscOS machine. I would like to try
> > to use this to build Java. I was just wondering if it was a waste
> > of time, as I would be expecting the Linux native Java version to
> > be used in the build process.
> >
> > On 8/15/07, Gary Benson <gbenson at redhat.com> wrote:
> > > Hi Robert,
> > >
> > > I use IcedTea's bootstrap VM and plug replacements. Build them
> > > with:
> > >
> > > hg clone http://icedtea.classpath.org/hg/icedtea
> > > cd icedtea
> > > ./configure
> > > make boot plugs
> > >
> > > Then build the JDK with:
> > >
> > > export ALT_BOOTDIR=/path/to/icedtea/bootstrap/jdk1.6.0
> > > export ALT_CLOSED_JDK_IMPORT_PATH=/path/to/icedtea/bootstrap/jdk1.7.0
> > >
> > > Cheers,
> > > Gary
> > >
> > > Robert Pangrazio wrote:
> > > > I noticed that to build JDK 6 or higher you need an existing
> > > > Java setup. I was wondering how you go about building the JDK
> > > > for a new platform. If i have a cross compilation setup for my
> > > > new platform, can I use the build machines native JDK, or do I
> > > > have to have a JDK that is native to my new platform. If i have
> > > > to have a native JDK to build the JDK how do you build the first
> > > > native JDK?
> > > >
> > > > Thanks
> > > > Bob
>
More information about the build-dev
mailing list