Ticket #497 (closed task: fixed)
Opened 4 years ago
Last modified 6 months ago
[ jamvm ] add
| Reported by: | korli | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-java/jamvm | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Attachments
Change History
comment:1 Changed 4 years ago by korli
comment:2 Changed 4 years ago by scottmc
- Component changed from default to dev-java/javavm
- Owner set to scottmc
comment:3 Changed 4 years ago by korli
linux configure command line
../configure --prefix=/boot/common --with-classpath-install-dir=/boot/common --host=i586-pc-haiku --prefix=/home/korli/jamvm-haiku CC=/home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/bin/i586-pc-haiku-gcc CXX=/home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/bin/i586-pc-haiku-g++ AS=/home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/bin/i586-pc-haiku-as AR=/home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/bin/i586-pc-haiku-ar CPP=/home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/bin/i586-pc-haiku-cpp LDFLAGS="-Xlinker -soname=_APP_ -nostdlib /home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/system/glue/arch/x86/crti.o /home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/lib/gcc/i586-pc-haiku/4.4.4/crtbegin.o /home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/system/glue/start_dyn.o /home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/system/glue/init_term_dyn.o /home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/system/libroot/libroot.so /home/korli/svnhaiku/haiku/generated_gcc4/cross-tools/lib/gcc/i586-pc-haiku/4.4.4/crtend.o /home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/system/glue/arch/x86/crtn.o -L/home/korli/svnhaiku/haiku/generated_gcc4/objects/haiku/x86/release/libs/zlib/" CPPFLAGS="-I/home/korli/svnhaiku/haiku/headers/posix -I/home/korli/svnhaiku/haiku/headers/build/os -I/home/korli/svnhaiku/haiku/headers/build -I/home/korli/svnhaiku/haiku/headers/libs/zlib -I/home/korli/svnhaiku/haiku/headers/os/support -I/home/korli/svnhaiku/haiku/headers/os/kernel -I/home/korli/svnhaiku/haiku/headers/os/storage"
Changed 4 years ago by korli
- attachment jamvm.haiku.patch added
raw diff for jamvm haiku cross-build on Linux
comment:4 Changed 4 years ago by korli
Just tested on Haiku:
./configure --prefix /boot/common --with-classpath-install-dir=/boot/common/share/classpath
You need to download ecj-3.6.1.jar on [eclipse website| http://eclipse.ialto.com/eclipse/downloads/drops/R-3.6.1-201009090800/ecj-3.6.1.jar] and create a script 'ecj' in /boot/common/bin with the following:
#!/bin/bash java -jar /boot/common/share/java/eclipse-ecj.jar $*
comment:5 Changed 4 years ago by scottmc
- Component changed from dev-java/javavm to dev-java/jamvm
comment:6 Changed 4 years ago by scottmc
First bep and patch added in r1380. It will probably need adjusting after classpath is added in.
comment:7 Changed 4 years ago by scottmc
- Owner scottmc deleted
comment:8 Changed 6 months ago by richienyhus
- Resolution set to fixed
- Status changed from new to closed
Looks like everything is working in new haikuports: http://bb.haikuports.org/haikuports/src/3f14b4c88b89/dev-java/jamvm/jamvm-1.5.4.recipe

Package http://freefr.dl.sourceforge.net/project/jamvm/jamvm/JamVM%201.5.4/jamvm-1.5.4.tar.gz