Karl Kleinpaste <karl(a)justresearch.com> wrote:
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.
It's been a couple of months since I've had the time to compile
XEmacs 21.0 (and 20.4) under HP-UX, but I didn't find it difficult.
Note, however, that I work for HP, and so I'm used to this. It wasn't
painless, but it wasn't difficult, either.
This was with HP's cc (the *unbundled* one) on HP-UX 10.20 and
9.07, BTW. With XEmacs 20.4 and HP-UX 10.20, I also used HP's
profile-based optimization, which can really speed things up (using vm
on many-megabyte VM mail files is quite usable with profile-based
optimization). You may need compiler and/or OS patches, though.
Here's how I configured XEmacs 20.4 under HP-UX 9.07 (lines split
up for readability):
./configure --verbose --with-gcc=no
--site-includes=/usr/include:/usr/include/X11R5:/usr/local/include
--site-libraries=/lib:/usr/lib:/usr/lib/X11R5:/usr/local/lib
--error-checking=none --cflags='+O3 +DA1.1'
--prefix=/opt/hp
--infopath=/usr/info:/usr/local/info:/opt/hp/info
--with-xpm=yes --with-xface=yes --with-sound=native
--rel-alloc=yes --memory-usage-stats
--dynamic=yes --with-xmu=no
I don't know if this will work "as is" under HP-UX 10.20, although I
think it will.
[ Note: I had to hand-edit the Makefiles to use profile-based
optimization, and so the above won't work "as is" for profile-based
optimization. ]
And this is what I used for a REALLY OLD ``XEmacs 21.0
"Erzgeberg-pre1"'' under HP-UX 10.20 (and so this will no longer work
for a recent XEmacs):
./configure --with-gcc=no
--site-includes=/usr/local/include:/opt/audio/include
--site-libraries=/usr/local/lib:/opt/audio/lib
--gung-ho=yes --with-file-coding=yes --verbose
--with-system-malloc=yes --cflags='-g +DA1.1'
--prefix=/opt/hp --with-xpm=yes --with-xface=yes
--memory-usage-stats --dynamic=yes --with-xmu=no
--package-path='/usr/local/lib/xemacs/packages:~/.xemacs'
I think I added the "--with-system-malloc=yes" to run XEmacs under
purify, and so I think you can delete that part from configure.
If I can find the time, I'll try to rebuild the latest 21.0 under
HP-UX.
BTW, using HPUX' own cc was an even bigger waste of time than
most efforts.
Only if it's the bundled one good only for kernel building.
--
Darryl Okahata
darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.