Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!bionet!ucselx.sdsu.edu!petunia!news From: mdeale@vega.acs.calpoly.edu (Myron Deale) Newsgroups: comp.sys.next Subject: Re: cc preprocessor question Message-ID: <25f44fd7.4b2a@petunia.CalPoly.EDU> Date: 7 Mar 90 00:03:35 GMT References: <25f2ebec.2553@petunia.CalPoly.EDU> <341@toaster.SFSU.EDU> Reply-To: mdeale@vega.acs.calpoly.edu.UUCP (Myron Deale) Distribution: na Organization: ACS, Cal Poly, San Luis Lines: 37 In article <341@toaster.SFSU.EDU> eps@cs.SFSU.EDU (Eric P. Scott) writes: >In article <25f2ebec.2553@petunia.CalPoly.EDU> > mdeale@vega.acs.calpoly.edu (Myron Deale) writes: >> I'd bet this is a known bug, but I'm trying to compile patch v.2 >>and cpp is mis-behaving. > >I'll argue that the "known bug" isn't in cpp, but in the Configure >script in your patch sources. Newer versions of Configure (such as >distributed with rn PL 44) work properly on NeXT machines. > >In any case, there's a patch executable available by anonymous >FTP from sutro.sfsu.edu in the pub subdirectory (see the README >file). Given that you have a leased line to our campus, you're >not going to find it anywhere closer... > > -=EPS=- Thank you Eric. However, I received email from Christopher Lane and a few others (thanks! ) suggesting I use the -traditional compiler flag. I.e. tell Configure: /lib/cpp -traditional. Worked like a charm. If anyone is interested in the process: unshar, run Configure, comment out the last group of declarations in common.h (try #ifdef 0 / #endif pair), then make. Apply patches 1-9 using your newly created patch (you just gotta love it :) and make again. Unshar patch11, apply patch10, re- Configure and re- make. Hey, simple huh?! I think it works too. -Myron // mdeale@cosmos.acs.calpoly.edu PS. of course the new Configure in patch11 may be like what EPS mentioned, although it needs the "/lib/cpp -traditional" too.