Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!STAT.WISC.EDU!bates From: bates@STAT.WISC.EDU (Douglas Bates) Newsgroups: gnu.gcc Subject: Installation of gcc-1.36 on a NeXT Message-ID: <9001241653.AA08489@wingra> Date: 24 Jan 90 16:53:25 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 Using the tm-next.h file that Richard Stallman sent me (and which I later posted to comp.sys.next) I was able to install gcc-1.36 successfully on a NeXT running version 1.0 of the NeXT OS. I recently discovered that /usr/include/stddef.h defines two names that are not defined in gcc-include/stddef.h. There is a typedef of wchan_t and the extern int errno. Unless these are defined in the include file that gcc finds, other include files like /usr/include/math.h give syntax errors. I'm not sure if it is best to delete gcc-include/stddef.h or to modify it to match /usr/include/stddef.h There are other, more serious problems with include files on the NeXT. Some of the standard include files such as /usr/include/machine/mach.h use the non-standard compiler directive #import, but this is a problem for NeXT to address.