sysdepCallMethod for PA-RISC

Pavel.Roskin at ecsoft.co.uk Pavel.Roskin at ecsoft.co.uk
Wed Aug 19 12:32:19 PDT 1998




Hello!

Here is a file which defines sysdepCallMethod routine for PA-RISC
processors. Unfortunately, it can only be compiled using GNU C (gcc or
maybe egcc), because it uses extended assembler feature to calculate the
stack pointer. This file must be compiled without optimization, otherwise
the compiler ignores register assignments. It is not hard to convert it to
#define but is it necessary. Actually, someone may want to compile
support.c with optimization.
Unfortunately there are many problems with HP-UX in the moment, so I give
some step-by-step instruction for those who want to test this procedure
right now.

1) CFLAGS='-g' ./configure --host=hppa1.1-hp-hpux10.20 --with-staticlib
--with-engine=intrp --with-threads=unix-jthreads
2) Hack kaffe/kaffevm/Makefile to add su1$(OBJEXT) after support$(OBJEXT)
3) make
4) make install
5) Never run Kaffe from Midnight Commander with subshell support enabled.
6) Use 8-bpp X server if you run AWT programs. Otherwise you will see a
black window.

I have never read some documentation about PA-RISC processor. This code is
written based on assembler generated by gcc. There are many open questions
- they are marked as comments.
Nevertheless, I have successfully recompiled Kaffe.jar using pizza 0.39g.
Most tests from regression and all AWT tests do work!

Pavel Roskin <pavel.roskin at ecsoft.co.uk>

(See attached file: su1.c)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1695 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/19980819/0061bceb/attachment-0007.obj


More information about the kaffe mailing list