The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: schily@schily.net (Joerg Schilling)
Subject: [TUHS] How did you ...
Date: Wed, 05 Apr 2017 11:29:14 +0200	[thread overview]
Message-ID: <58e4b8ea.YIwfY3GYu0DFQsAD%schily@schily.net> (raw)
In-Reply-To: <201704041915.v34JFrX9085938@tahoe.cs.Dartmouth.EDU>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]

Doug McIlroy <doug at cs.dartmouth.edu> wrote:

> > [cpp] only became a separate program later than [v6]
>
> It came into the manual in v8.

But it's source has been part of UNIX 32V, so it has become part of the 
historical UNIX licensed parts and I could take the source to create a modern 
K&R cpp with the features seen on Solaris in /lib/cpp.

BTW: I had to do this port and the related enhancements because "dtrace", "asm" 
and "rpcgen" depend on a K&R cpp that does not destroy line breaks and that 
marks include levels. OpenSolaris requires this "cpp" for compilation.

See: 
https://sourceforge.net/p/schillix-on/schillix-on/ci/default/tree/usr/src/cmd/cpp/

Also see the original README from the "cpp" directory in 32V:

/*--------------------------------------------------------------------------*/
August 25, 1978

Files in this directory form the C preprocessor, which handles '#include'
files and macro definition and expansion for the C compiler.
This new version was written by John F. Reiser and is from 5 to 12
times faster (on UNIX systems) than the old.

To create the executable file 'cpp' in the current directory:
        make
...
/*--------------------------------------------------------------------------*/

Jörg

-- 
 EMail:joerg at schily.net                  (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/


  reply	other threads:[~2017-04-05  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 19:15 Doug McIlroy
2017-04-05  9:29 ` Joerg Schilling [this message]
2017-04-04 20:04 Noel Chiappa
2017-04-04 21:02 Norman Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58e4b8ea.YIwfY3GYu0DFQsAD%schily@schily.net \
    --to=schily@schily.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).