Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!ditsydh.syd.dit.CSIRO.AU!evans From: evans@syd.dit.CSIRO.AU (Bruce.Evans) Newsgroups: comp.os.minix Subject: Re: cpp source, where is it? Message-ID: <1991May17.151117.3230@syd.dit.CSIRO.AU> Date: 17 May 91 15:11:17 GMT Article-I.D.: syd.1991May17.151117.3230 References: <53777@nigel.ee.udel.edu> Organization: CSIRO Division of Info Tech, Sydney, Australia Lines: 21 In article <53777@nigel.ee.udel.edu> rcarr@lynx.northeastern.edu writes: >Does anyone know the location of the source for cpp? I've upgraded to Minix >386 using Bruces patches but I can't find (or didn't get) the source for cpp >If anyone knows the whereabouts of this code, please let me know. Thanks. I use gnu cpp. Source for this is included in the source for gcc. The released bcc does not quite compile it but this is easily worked around. A Minix-386 binary for gnu cpp is included in the gcc distribution in the uk subdirectory on plains. A couple of Minix bugs have to be fixed to use gnu cpp in pipes. stat() reports that pipes are regular so input from pipes is handled wrong. write() fails for sizes of more than 7K to pipes. There are sources for another cpp (DECUS?) around but this suffers from not being very standard. gnu cpp is normally ANSI standard but can be made K&R semi-standard with the '-traditional' flag. It's often necessary to use this flag - e.g., for cppmake and the kernel assembler files. -- Bruce Evans evans@syd.dit.csiro.au