Building OpenJDK libraries using IcedTea Project for JamVM
Stefan Ring
stefan at complang.tuwien.ac.at
Fri Dec 19 08:43:21 UTC 2014
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).
More information about the distro-pkg-dev
mailing list