[Sablevm-developer] installing on NetBSD/OpenBSD (sparc)
Brought to you by:
egagnon
From: Riccardo M. <ro...@ti...> - 2004-06-02 17:15:14
|
Hello, I give here a list of steps I did for installation on my sparc boxen: NetBSD/1.6.2 (sparc) and OpenBSD/3.5 - install GNU make (gmake) - install all available libaries from the pkgsrc tree. (libtool, popt...) but not libffi: it will fail - install libffi. This is tricky, I split it up in - patch the assembler sources (with patch already sent to the list) so not to confuse gcc/as/cpp - patch to add OpenBSD/sparc as a supported platform (not needed for NetBSD) - build and install - patch the ffi.h so not to fail with an error for "unsupported 64 bit data types" - manually install /usr/local/include/ffitarget.h (it is present in the include dir of the ffi build directory, but doesn't get installed automatically) - configure sablevm. On NetBSD, which has some libraries in /usr/local (our libffi for example) and some in /usr/pkg/lib I used: ./configure -C LDFLAGS="-L/usr/local/lib -L/usr/pkg/lib" CPPFLAGS="-I/usr/local/include -I/usr/pkg/include" (the -C enables caching) - gmake, gmake install - configure and buidl classpath. I disabled gtk peers. and now test... and see that it runs :) I hope to be able to add SavleVM benchmars soon in my java benchmarking and comparison effort. (Look for "architectural benchmarks") For the online 24/7 version: http://homepage.mac.com/riccardo_mottola/kaffe-devel/ or for the bleeding edge, local version (if you find my workstation up...): http://multix.dyndns.org/Sites/kaffe-devel/ - Riccardo (aka grey_gandalf or multix on IRC) PS: If you are really curious, SableVM was built on my own sparc boxes: Mallorn (some benchs already show up) and Rochben. |