1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& HPUX
To compile on HPUX type:
% make hpux
and then
% make install
after having properly set the LIBDIR variable in the master Makefile.
The math library is fairly incomplete on HPUX. An extra file
extramath.c defines basic math functions such as sinh. The precision
on these functions is not good, precisely because math function
log1p is missing. I wonder why the minimal BSD math library is
not on these machines...
I've been reported some memory alignment problems on HP750.
The problem is that simple commands like
fudgit> let x=2
leads to a program crash due to a bus error. To get around this
problem, define DALIGN in src/Makefile.hpux. This forces the code to
use bcopy() to transfer doubles on a string of int (pointers) while
reading and writing. The resulting code is slightly slower, but
stable.
Some flavors of HPUX need -lmalloc some don't. If it complains about
not being able to find malloc library just comment it in or out in
src/Makefile.hpux.
The math library uses HUGE instead of Infinity and does not have NaN
values in conjunction with error flags. Since I have only remote access
to HPUX, parts or src/math.c:errorcheck() should be rewritten (#ifdef
HPUX) to account for this peculiar behavior. Anybody interested?
HPUX does not support dynamic loading.
The ansi version of Fudgit has been tested on HPUX 8.07. Some fiddling
might be required to comply with other (too many) versions.
|