Building OpenJDK libraries using IcedTea Project for JamVM

Xerxes Rånby xerxes at zafena.se
Mon Dec 22 10:51:11 UTC 2014


Den 2014-12-22 11:37, Roman Davidenko skrev:
> Hi,
>
> following your suggestions I managed to buld JamVM / IcedTea.
> But I would like to have a separate directory for the buld, so:
>
> ../icedtea-2.5.3/configure --prefix=/var/www/jamvm-2.0.0 
> --enable-jamvm ...
>
> make
>
> then
>
> [root at tawzee icedtea-build]# make install
> make: Nothing to be done for `install'.

Enjoy your completed build!

As explained by the INSTALL file:

"There is currently no install target.  IcedTea ends up in
openjdk.build when the build completes."

IcedTea build system have done what it was designed to do.

You will have to copy the generated j2sdk-image from the build directory 
to the location of your choice manually.


> Also, I'd like to do the same with CACAO, but can't get the CACAO's 
> current snapshot. Where is it?

http://www.cacaojvm.org/
http://www.cacaojvm.org/pages/mercurial-repository.html

Cheers
Xerxes

>
> Appreciate
> Roman
>
>
> > Date: Fri, 19 Dec 2014 09:43:21 +0100
> > Subject: Re: Building OpenJDK libraries using IcedTea Project for JamVM
> > From: stefan at complang.tuwien.ac.at
> > To: rid50 at hotmail.com
> > CC: distro-pkg-dev at openjdk.java.net
> >
> > On Thu, Dec 18, 2014 at 11:33 AM, Roman Davidenko 
> <rid50 at hotmail.com> wrote:
> > > Thank you, Stefan, I will definitely use your hack. I have already 
> created
> > > the tarball you suggested, but can't run a build.
> > > Right now, with a help of Andrew, I built Hotspot JVM with IcedTea
> > >
> > > /var/www/icedtea/icedtea-build/openjdk.build/bin/java -version
> > > java version "1.7.0_71"
> > > OpenJDK Runtime Environment (IcedTea 2.5.3) 
> (RedHatEnterpriseServer build
> > > 1.7.0_71-b14)
> > > OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
> > >
> > > Now, I try to build JamVM.
> > > I don't want to delete icedtea-build directory, because it took 
> about 1,5
> > > hour for the previous build, so:
> > >
> > > cd icedtea-build
> > > ../icedtea-2.5.3/configure --prefix=/var/www/jamvm-2.0.0 
> --enable-jamvm
> > > --with-jamvm-src-zip=/var/www/jamvm/jamvm-2.0.0.tgz --disable-Werror
> > > --disable-system-gio --disable-system-kerberos --disable-system-jpeg
> > > --disable-system-gif --disable-system-lcms
> > > --disable-compile-against-syscalls --disable-native-debuginfo
> > > --disable-java-debuginfo --disable-docs
> > >
> > > make
> > > make: Nothing to be done for `all'.
> >
> > I strongly advise you against trying to game the system in this way.
> > You'll lose much more time than the 1.5 hours dealing with the
> > fall-out. I just timed a CACAO build on my new desktop machine
> > (4-core), which took less than 6 minutes. Hotspot builds, like the one
> > you did, take a bit longer because of the large amount of C++ code (12
> > minutes on this machine).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20141222/73a15575/attachment-0001.html>


More information about the distro-pkg-dev mailing list