bates@STAT.WISC.EDU (Douglas Bates) (01/25/90)
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.