* [TUHS] How did you ...
@ 2017-04-04 19:15 Doug McIlroy
2017-04-05 9:29 ` Joerg Schilling
0 siblings, 1 reply; 4+ messages in thread
From: Doug McIlroy @ 2017-04-04 19:15 UTC (permalink / raw)
> [cpp] only became a separate program later than [v6]
It came into the manual in v8.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [TUHS] How did you ... 2017-04-04 19:15 [TUHS] How did you Doug McIlroy @ 2017-04-05 9:29 ` Joerg Schilling 0 siblings, 0 replies; 4+ messages in thread From: Joerg Schilling @ 2017-04-05 9:29 UTC (permalink / raw) [-- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* [TUHS] How did you ... @ 2017-04-04 20:04 Noel Chiappa 0 siblings, 0 replies; 4+ messages in thread From: Noel Chiappa @ 2017-04-04 20:04 UTC (permalink / raw) > From: Doug McIlroy >> [cpp] only became a separate program later than [v6] > It came into the manual in v8. Separate program in the V7 distro, though: http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/cpp Noel ^ permalink raw reply [flat|nested] 4+ messages in thread
* [TUHS] How did you ... @ 2017-04-04 21:02 Norman Wilson 0 siblings, 0 replies; 4+ messages in thread From: Norman Wilson @ 2017-04-04 21:02 UTC (permalink / raw) Noel Chiappa: Separate program in the V7 distro, though: http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/cpp ==== Indeed it was. I recall people using it, calling it by its full pathname, /lib/cpp. Norman Wilson Toronto ON ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-05 9:29 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-04-04 19:15 [TUHS] How did you Doug McIlroy 2017-04-05 9:29 ` Joerg Schilling 2017-04-04 20:04 Noel Chiappa 2017-04-04 21:02 Norman Wilson
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).