Archive: forth/hatforth/hpux

Up to parent directory

We are not at all familiar with shared libraries in hpux/hppa systems, so the scripts below use the libtool generated by the pfe build on an hpux 10.20 system, as well as depcomp from the top directory in the pfe distribution tree.

We based ltobj, ltlink, and ltinstall on the libtool output. The pfe build configuration was that in the last script, doconf. The first of the scripts, mkmod, is a driver for the next three. On the system available to us, with gcc 2.95.2, the only gcc optimization that would build a working pfe was -O1.

scripts
mkmod 04Feb05 15:31:48EST 35
ltobj 04Feb05 15:31:45EST 2.2K
ltlink 04Feb05 15:31:42EST 412
ltinstall 04Feb05 15:31:35EST 290
doconf 04Feb05 15:31:31EST 111

As an example, suppose slbench-ext.c and slbench-dll.c in the current directory are the C translation of slbench.hf, perhaps produced by
dohftrans slbench

Then there are five register options for building slbench.so:
mkmod slbench neither TOS nor FTOS in a register
mkmod slbench tos TOS in a register
mkmod slbench ftos FTOS in a register
mkmod slbench both both TOS and FTOS in registers
mkmod slbench none no extra registers at all

However, the only option we succeeded in getting to work on the system at hand was both. This is definitely an experimental system for the time being. See config.hf for the details of register assignments.

Up to top of archive