usenet@cps3xx.UUCP (Usenet file owner) (10/22/88)
Machine: IBM RT Model 135 Op Sys: AIX ver2.2 GNU Emacs Ver: 18.44 I have been trying to get GNU Emacs ver18.44 going on my RT. Everything compiles fine and I get an xemacs which is about 1/2 MB in size on the disk. However, when I try to executed I only get the message: Killed. and am returned to my shell prompt. I compiled using the standard m-ibmrt.h and s-usg5-2.h. The only changes I had to make to compile is #ifdef'ing out the code for bcopy and getwd because these are in libc.a in AIX 2.2. I also had to put the proper define in so that unexec would not get called because some of the necessary #include's for unexec are not present in AIX. Has anyone gotten this version working under AIX2.2? If so, what di you do? Elsewise, has anyone gotten a newer version of GNU Emacs going on the RT? If so, what versionand what did you do? Please respond to me via e-mail as I don't regularly read this newsgroup. j John H. Lawitzke UUCP: ...rutgers!mailrus!frith!fciiho!jhl Michigan Farm Bureau ...decvax!purdue!mailrus!frith!fciiho!jhl Insurance Group
karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) (10/22/88)
Any SysVish system which runs temacs fine and gives you an xemacs, but which then follows an attempt to execute xemacs with Killed is almost certainly a victim of COFF troubles. The SysV kernel (especially back on VAX USG V.2) does not provide much in the way of decent error-checking as it loads in a binary, and if it detects formatting troubles in the COFF headers, it takes the wholly rude solution of psignal(p, SIGKILL); which is why you hear about it from the shell as just `Killed.' Acknowledging that I've never built GNU Emacs on an RT, I would first suggest that you #define NO_REMAP and try it all over again. This will tell unexec() not to be nearly so, ahem, creative in how it futzes about with the boundaries of text and data space, thus reducing the likelihood of upsetting COFF issues. Alternatively, of course, pick the most recent version (18.52) from wherever is most convenient and try that. coff, coff, choke. --Karl
windley@cheetah.ucdavis.edu (Phil Windley) (10/22/88)
Try 18.52. I have been running emacs on an RT under AIX for about a year. It dumps just fine, although there is a special unexec for aix. If the changes haven't been incorporated into the latest version of GNU, send me mail and I'll let you know where to get them. -- Phil Windley | windley@iris.ucdavis.edu Division of Computer Science | ucbvax!ucdavis!iris!windley College of Engineering | (916) 752-7324 (or 3168) University of California, Davis | Davis, CA 95616