HPUX sucks large hoovers. I already knew that, of course, but I had
to spend a day and a half, on and off, trying to convince both 21.0.62
and 21.2-b8 to build. (Da Boss wants to convert to Gnus for mail. He
wants to run as much as possible in an environment identical to mine.)
Lots of entertaining-though-depressing failure modes presented
themselves, no two of 'em alike, a few of which I've saved under
http://www.cs.cmu.edu/~karl/xemacs-21/
As I was giving up and installing the 20.4 binary kit, I looked over
its README and found that the "configure" line used by that
contributor was quite complex. In a fit of dementia, I tried the same
--cflags setting for 21.2-b8 and found that it worked. Compiled
without Motif, it continues to work great.
The set of flags used was:
-pipe -mpa-risc-1-1 -mschedule=7100 -mjump-in-delay -funroll-loops -O5 -static
Could this get into at least the PROBLEMS file, and possibly into
configure, so that similar pain need not be endured by others?
PROBLEMS made reference to needing -O2, which is why a couple of my
attempts used it, but that didn't help at all.
BTW, using HPUX' own cc was an even bigger waste of time than most efforts.