[comp.emacs] GNU Emacs on IBMRT/AIX

mike@erix.ericsson.se (Mike Williams) (01/27/89)

We have recently acquired an IBMRT on which we run AIX 2.2.1
I have tried to install GNU 18.52 using the m-ibmrt-aix.h and
s-usg5-2-2.h files. I ran into the following problems:

1. The optimiser pass of the C compiler crashed. Solution
   remove the -O option

2. The file hftctl.c was missing. Solution copy this file from
   /usr/lib/samples/hft

By doing this I was able to generate a temacs which ran in batch,
loaded the lisp files and dumped to a xemacs. However the xemacs
crashed when I try to run it. If I run temacs interactively it starts
up OK but then is completely dead i.e. it does not read any key
strokes at all.

I have tried using the older m-ibmrt.h files. This causes compilation
and link errors unless if undef HAVE_ALLOCA define C_ALLOCA and define
CANNOT_DUMP. The result when these are defined is no better, temacs
just crashes.

Before I delve deeper into the mysteries of all this I would like to
check that someone else has not already solved the problem. Are there
later versions of GNU emacs which do compile / work. I believe that
AIX 2.2.1 is recent version of AIX is the version of emacs I have not
compatible with this version?

All help and advice would be appreciated. If I do get thing working I
will of course post the answer to the net.


Mike Williams

mike@erix.ericsson.se

usenet@cps3xx.UUCP (Usenet file owner) (01/30/89)

in article <1934@erix.ericsson.se>, mike@erix.ericsson.se (Mike Williams) says:
$ Xref: cps3xx comp.emacs:5192 comp.sys.ibm.pc.rt:304
$ 
$ We have recently acquired an IBMRT on which we run AIX 2.2.1
$ I have tried to install GNU 18.52 using the m-ibmrt-aix.h and
$ s-usg5-2-2.h files. I ran into the following problems:
$ 
$ 1. The optimiser pass of the C compiler crashed. Solution
$    remove the -O option
$ 
$ 2. The file hftctl.c was missing. Solution copy this file from
$    /usr/lib/samples/hft
$ 

I never trust the -O option for AIX's cc. I've had code that works
perfectly fine without -O, but doesn't with -O.

You're expected to use hftctl.c that comes with AIX. GNU can't
distribute it as it is copyrighted by IBM.

AIX 2.2.1 is the latest version of AIX.

I have GNU 18.52 running fine under AIX 2.2.

John H. Lawitzke      UUCP: ...rutgers!mailrus!frith!fciiho!jhl
Michigan Farm Bureau        ...decvax!purdue!mailrus!frith!fciiho!jhl
Insurance Group             ...uunet!frith!jhl
"My other computer is an IBM RT Model 135"