mechjgh@tness1.UUCP (08/28/87)
We got GNU Emacs version 18.41 working on an NCR Tower XP after help from Chet Murthy (murthy@svax.cs.cornell.edu).... use: s-usg5-2.h m-tower32.h replace src/crt0.c with the following file. --------< src/crt0.c >------ int data_start = 0; char **environ; _start () { start1 (); } start1 (argc, xargv) int argc; char *xargv; { register char **argv = &xargv; environ = argv + argc + 1; if ((char *)environ == xargv) environ--; exit (main (argc, argv, environ)); } -------< eof >-------- This hack also works with version 17. I think the problem in the crt0.c file has to do with kludged #ifdef statements related to m68000 processors. The start1(argc, xargv) statement ends up with 4 args passed to it instead of the 2. -- Greg Hackney Southwestern Bell One Bell Plaza, Room 1825 Dallas, Texas mechjgh@tness1.UUCP ihnp4!tness1!mechjgh