Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!cit-vax!amdahl!wg3b20!narayan From: narayan@wg3b20.UUCP (The Champ) Newsgroups: net.sources Subject: Re: Re: Re: ifdef filter Message-ID: <643@wg3b20.UUCP> Date: Thu, 24-Jul-86 12:30:11 EDT Article-I.D.: wg3b20.643 Posted: Thu Jul 24 12:30:11 1986 Date-Received: Fri, 25-Jul-86 00:08:22 EDT References: <323@enmasse.UUCP> <924@cyb-eng.UUCP> <640@wg3b20.UUCP> <3479@amdahl.UUCP> Organization: The Wollongong Group., Palo Alto, CA 94303. Lines: 35 > I know of a GREAT way to filter out "un-executed" ifdefs. It's > called the C pre-processor! Just feed it your code, with a few > -Doptions to define which ifdefs you want defined, and presto-changeo, > it will spit out only the wanted source. > -- > ------------------------------------------------------------------- > Dave Lowrey > You can't do this if you have sources that you would like to sell. If you have sources that build stuff for several machines, you don't want to give them all away. Here is where you unifdef what you don't want to give away. Also ccp pulls in include files, and expands #defines. How would you like AT&T to give you sources with no include files or only octal and hex numbers for all the masks and parameters. -- Narayan Mohanram Phone: 415-962 7170 ARPANET wg3b20!narayan@lll-tis-b.ARPA Usenet ihnp4!{amdahl,pesnta}!wg3b20!narayan Mail The Wollongong Group 1129 San Antonio Road Palo Alto, CA 94303. USA ========================================================= || If you can't lick it, try some whipped cream || =========================================================