Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!sdd.hp.com!spool.mu.edu!uwm.edu!linac!att!cbnews!cbnewsl!urban From: urban@cbnewsl.att.com (john.urban) Newsgroups: comp.unix.wizards Subject: Re: cpp gone in 4.0 (Was: cpp vs. m4 for .s files) Message-ID: <1991May9.134547.4893@cbnewsl.att.com> Date: 9 May 91 13:45:47 GMT References: <1991May6.162351.1521@cbnewsl.att.com> <14717@ulysses.att.com> Distribution: na Organization: AT&T Bell Laboratories Lines: 24 In article <14717@ulysses.att.com> ekrell@ulysses.att.com (Eduardo Krell) writes: >In article <1991May6.162351.1521@cbnewsl.att.com> urban@cbnewsl.att.com (john.urban) writes: > >>This is because cpp is completely gone for UNIX System V Release 4.0. > >Not really: > >$ uname -a >quail quail 4.0 2.1 i386 386/AT >$ ls -l /lib/cpp >lrwxrwxrwx 1 root other 16 Mar 5 14:24 /lib/cpp -> /usr/ccs/lib/c >pp >$ ls -l /usr/ccs/lib/cpp >-r-xr-xr-x 1 bin bin 24084 Mar 5 14:22 /usr/ccs/lib/cpp Well I guess I was mistaken. It isn't physically gone. I guess it's still their for backwards compatibility or something - extra baggage. However, it's not a supported way of using the pre-processor. You should use cc -E or cc -P. If you type in: truss -o /tmp/CPP -f cc -E file.c and then examine /tmp/CPP, you'll see that cpp is never called. Sincerely, John Ben Urban