söndag 30 augusti 2009

JamVM for AmigaOS

Trying to compile jamvm for AmigaOS using cross-compiler on Linux.
JamVM-version: 1.5.3

Created a new amiga-directory (should probably be named amigaos4) in src/os, mostly copied from bsd (or was it linux, can't remember). That directory will be made available sometime perhaps.

Made changes in these files to add the amiga directory above:
configure.in

Made ugly hardcoded changes in these files:
USE_MALLOC should be properly defined in some configure files, instead of in the files directly
src/alloc.h
src/alloc.h
added #define sigjmp_buf jmp_bUf:
src/thread.c
src/thread.h

Configure:
./configure --host=ppc-amigaos --program-prefix=/media/disk/Filer/Projekt/amijamvm LIBS="-ldl -lauto -use-dyndl"
Make:
make

Still copmplains about SIG_BLOCK, SIG_UNBLOCK