pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: newer openjdk?
Tobias Nygren <tnn%NetBSD.org@localhost> writes:
>> Oh awesome, thanks! I was curious about the bootstrap process actually. Is that documented anywhere?
>
> There is an old but still mostly correct instruction in
> lang/openjdk8/bootstrap.mk. This assumes you already have a working
> native toolchain though so that you can regenerate binaries with the
> help of pkgsrc.
>
> Bootstrapping for a new major version is a multi step process that
> requires first building a JDK targeted to Linux w/ BSD patches so that
> the Linux tools recognize BSD as a valid target. Then using that as
> --with-build-jdk, cross compile to NetBSD with a build.sh toolchain
> and prepared sysroot. The cross setup should be mostly per upstream's
> documentation. Finally, copy jdk-image over to NetBSD host and follow
> the instructions from bootstrap.mk to rebuild through pkgsrc.
It would be great to have that documented in openjdk25/bootstrap.mk,
rather than being mailing list lore.
Home |
Main Index |
Thread Index |
Old Index