Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!agate!sprite.berkeley.edu!pfile From: pfile@sprite.berkeley.edu (Rob Pfile) Newsgroups: comp.unix.aux Subject: gcc problems (1.39 from afsg.apple.com) Message-ID: <1991Mar26.080036.4511@agate.berkeley.edu> Date: 26 Mar 91 08:00:36 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Followup-To: comp.unix.aux Distribution: na Organization: University of California, Berkeley Lines: 24 I'm sorry if this is a FAQ topic, but I have not seen any discussion on it: I downloaded gcc-1.39-aux.tar.Z from afsg.apple.com, and proceeded to unpack it on to my macII (8MB ram, Quantum P210S, 8*24 GC, if that makes any difference). Installation of gdb went OK, but running the fixincludes script actually crashed very badly either when fixing sys/file.h or right after it. It reports that a substitute pattern match fails, dumps core, and appears to try to exit gracefully without updating the rest of the include files. Is there something I didnt do? The variable at the beginning of fixincludes was already correct, that is /usr/local/Gnu. I think something went wrong, because even though I later successfully compiled xtetris2.04, my little program to simply open disk slice 31 will not compile; gcc complains that O_RDONLY is undefined... This is probably pretty bad, since most programs probably use that #define... Do I need to include a different file under gcc? Thanks for any help. Rob Pfile pfile@sprite.berkeley.edu