mike@erix.ericsson.se (Mike Williams) (02/01/89)
Emacs version 18.52 does not run on as defined in the m-ibmrt-aix.h
file for AIX version 2.2.1, but can be made to work after a fashion by
doing the following:
1. HAVE_SELECT should *not* be defined. AIX *does* have select but (at least
the 2.2.1 version) is not compatible with BSD.
2. CANNOT_DUMP should be defined. If you try to dump, temacs loads the
lisp files and then dumps to xemacs. However xemacs crashes when started.
3. Define a new variable BSD_INCLUDES, this is used in the AIX include
files. The -I/usr/include/bsd is no longer needed.
4. Do not use the -O flag while compiling (C_DEBUG_SWITCH, C_OPTIMIZE_SWICH)
as this causes the optimizer pass of the compiler to crash for the
window.c file (Memory error).
5. Don't define any Xwindow stuff. Some of it causes compilation errors
(HAVE_X_MENU cannot compile due to lack of a header file). Defining
HAVE_X_WINDOWS causes emacs to hang if started under X (not otherwise).
6. Change the following line in sysdep.c
sg.c_iflag |= (IGNBRK); /* Ignore break condition */
to
#ifdef IBMRTAIX
/* fix for AIX so that NULL's aren't eaten */
sg.c_iflag &= ~(IGNBRK | BRKINT);
#else
sg.c_iflag |= (IGNBRK); /* Ignore break condition */
#endif
This prevents NULL's from being eaten (set-mark).
7. The hftctl.c file can be fetched from /usr/lib/samples/hft/hftctl.c
However something strange is goes on here, the console get filled
with messages about vtd_hftctl: unknown request - anyone know what
is going on?
---
All the above is a hack to get emacs to work at all. If anyone has a better
version that let emacs dump and gets select and the X stuff working, please
let me know (IBM - are you listening?).
Mike Williams
mike@erix.ericsson.se