Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!drmorris From: drmorris@athena.mit.edu (David R Morrison) Newsgroups: comp.unix.sysv386 Subject: Re: gnu gcc/g++/gdb for sco unix Message-ID: Date: 11 Dec 90 05:32:01 GMT References: <18496@netcom.UUCP> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 37 In-Reply-To: aed@netcom.UUCP's message of 11 Dec 90 03:37:36 GMT In article <18496@netcom.UUCP> aed@netcom.UUCP (Andrew Davidson) writes: I have been trying to build gcc on sco unix for some time know. Chip gave me a set fof patches but I still have the same reacuring problem 5% more err.lis7 rcc -c -g -I. -I. -I./config fold-const.c rcc -c -g -I. -I. -I./config rtl.c *warnings* "rtl.c", line 679: illegal types in : *** Error code 1 Stop. I would appriciate any ideas. (it is hard to debug someone elses code) thanks. I had this exact problem last summer. What fixed it: (this is from memory, so check me) ---------------------------------------------------------------------- XVEC (return_rtx, i) = (list_counter ? rtvec_alloc (list_counter) : NULL); ---------------------------------------------------------------------- if (list_counter) { XVEC (return_rtx, i) = rtvec_alloc (list_counter) } else { XVEC (return_rtx, i) = NULL} ---------------------------------------------------------------------- I assume it is an rcc bug. This should be put in the SCO patches, if it isn't there already... Dave Morrison