Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: On the passing of vendor CPP flags into GNU compiler Message-ID: <4580@helios.ee.lbl.gov> Date: 7 Jan 90 23:07:53 GMT References: <12863@watcgl.waterloo.edu> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Distribution: comp Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 24 X-Local-Date: 7 Jan 90 15:07:53 PST In article <12863@watcgl.waterloo.edu> idallen@watcgl.waterloo.edu writes: < From: "Ian! D. Allen [CGL]" < < Our gnu compiler doesn't define -Dultrix on Ultrix, and I see that various < things in R4 seemd to depend on having -Dultrix set. I resorted to < doing this in the ultrix.cf file -- any better ideas? < < #if defined(HasGcc) && HasGcc==YES < /* Pass on Ultrix cpp options to gcc; see the Ultrix cpp man page -IAN! */ < #define StandardDefines -Dultrix -Dvax -Dunix -Dbsd4_2 < #endif I ran into the same problem with xdm. Keith Packard from the X Consortium suggested puting the -Dultrix in the CcCmd line in site.def, but it also makes sense to put it in ultrix.cf as you have done. What other clients (or server code) need the -Dultrix flag? I would hate to have to rebuild the whole tree as this takes about 14 hours on a vaxstation II. -- _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.