Newsgroups: comp.unix.sysv386
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!kithrup!sef
From: sef@kithrup.COM (Sean Eric Fagan)
Subject: Re: Need Help Building gdb on SCO 3.2.2
Organization: Kithrup Enterprises, Ltd.
Date: Tue, 25 Jun 1991 19:51:32 GMT
Message-ID: <1991Jun25.195132.3813@kithrup.COM>
References: <1991Jun19.153553.25579@cpqhou.uucp> <8062@spdcc.SPDCC.COM>

In article <8062@spdcc.SPDCC.COM> rbraun@spdcc.COM (Rich Braun) writes:
>I didn't have the problem you report when compiling gdb under 3.2.2,

The problem is that an ANSI-conformant C preprocessor (as msc has [well,
mostly 8-)]) cannot deal with a Makefile as input.  Why?  Because it is not
valid C.

In config.gdb, if it has 'cc -E', replace it with '/lib/cpp [...]'; that
should do the trick.  Or use rcc instead of cc.

Also, as was pointed out, /bin/sh (or $SHELL; I forget which one is checked
first) needs to be readable.

-- 
Sean Eric Fagan  | "What *does* that 33 do?  I have no idea."
sef@kithrup.COM  |           -- Chris Torek
-----------------+              (torek@ee.lbl.gov)
Any opinions expressed are my own, and generally unpopular with others.
