SableVM SDK - General Info and Gentoo Update
David Bélanger <[email protected]> Sun, 29 May 2005 16:02:05 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I completed a Gentoo ebuild (package build script) that builds everything for SDK 1.12_pre2 and everything seems to work though not tested a lot. ebuild: http://www.sable.mcgill.ca/~dbelan2/ebuilds/dev-java/sablevm-sdk/ patches: http://www.sable.mcgill.ca/~dbelan2/ebuilds/dev-java/sablevm-sdk/files/ Things of general interests to non-Gentoo people: assert patch: removes assert statements allowing builds on pre-SDK-1.5. bootstrap patch: ensure that SableVM SDK is used to build cp-tools, gjdoc, etc. by setting JAVAC, JAR, JAVA env variables. Ideally, we might want to have configure options to control this. On Gentoo systems, JAVAC (and a few others) variable are defined to the current VM SDK selected. Therefore, cp-tools/gjdoc etc. are build with currently selected system VM instead of SableVM SDK. I think it should default to SableVM SDK unless otherwise specified with configure flags i.e. the SableVM SDK should always bootstrap itself. I don't think it should rely on pre-set environment variables as it is currently the case. chmod patch: fixes earlier bug reported. When autoconf tools rerun and recreate files - permissions were not always set for BUILDIR/bin. dir patch: One way to fix DESTDIR bugs (undo Greg's Makefile.am changes and uses config options). An alternative way is to keep Greg's changes and remove DESTDIR from all bindir,libdir,... Note: fastjar will not rebuild automatically Makefile.in if Makefile.am is built unlike all other code. By adding the config switch: --enable-maintainer-mode to fastjar, it will make the build dep behaviour ok like the others. This should not affect end users but is a little bit confusing to dev when they patch Makefile.am and expect Makefile.in to be regenerated like the others. :) David --- David Bélanger Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt