config/parisc/common.h
kaffe@rufus.w3.org
kaffe@rufus.w3.org
Fri, 21 Aug 1998 20:17:55 +0100
--0__=yMzb4KNXgARQZqExRg3SEibDtiJ6qgSRJvi0b1WnwHcSllnrIQ1thrcT
Content-type: text/plain; charset=US-ASCII
Hello!
After some testing and minor changes I have converted sysdepCallMethod to a
macro. kaffe-hpux.diff adds support for HP-UX, whilst common.h should go to
config/parisc directory.
Optimization should now be Ok, at least -O2 in gcc-2.7.2.3.
One asm statement is still there to calculate stack pointer (%r30).
Kaffe is known to work in following configuration:
./configure --with-staticlib --with-threads=unix-jthreads
Don't run Kaffe from Midnight Commander with subshell support, otherwise
you would get
FIOSSAIOSTAT: Invalid argument
./systems/unix-jthreads/internal.c:114: failed assertion `mainthread'
ABORT instruction (core dumped)
AWT is only known to work on 8-bpp XServers. Some tests from "regression"
still fail.
Pavel Roskin <pavel.roskin@ecsoft.co.uk>
(See attached file: common.h)(See attached file: kaffe-hpux.diff)
--0__=yMzb4KNXgARQZqExRg3SEibDtiJ6qgSRJvi0b1WnwHcSllnrIQ1thrcT
Content-type: application/octet-stream;
name="common.h"
Content-transfer-encoding: base64
LyoKICogcGFyaXNjL2NvbW1vbi5oCiAqIENvbW1vbiBjb25maWd1cmF0aW9uIGluZm9ybWF0aW9u
IGZvciBQQS1SSVNDIGJhc2VkIG1hY2hpbmVzLgogKgogKiBDb3B5cmlnaHQgKGMpIDE5OTYsIDE5
OTcsIDE5OTgKICogICAgICBUcmFuc3ZpcnR1YWwgVGVjaG5vbG9naWVzLCBJbmMuICBBbGwgcmln
aHRzIHJlc2VydmVkLgogKgogKiBTZWUgdGhlIGZpbGUgImxpY2Vuc2UudGVybXMiIGZvciBpbmZv
cm1hdGlvbiBvbiB1c2FnZSBhbmQgcmVkaXN0cmlidXRpb24KICogb2YgdGhpcyBmaWxlLgogKgog
KiBzeXNkZXBDYWxsTWV0aG9kIGlzIHdyaXR0ZW4gYnkgUGF2ZWwgUm9za2luIDxwYXZlbC5yb3Nr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