4 ms·
Yeah it was, you seem to be mistaken: http://doc.cat-v.org/plan_9/4th_edition/papers/comp http://doc.cat-v.org/plan_9/4th_edition/papers/comp To make it easie
by kick 7y ago
Yeah it was, you seem to be mistaken:
http://doc.cat-v.org/plan_9/4th_edition/papers/comp http://doc.cat-v.org/plan_9/4th_edition/papers/comp
To make it easier to share code with other systems, Plan 9 has a version of the compiler, pcc, that provides the standard ANSI C preprocessor, headers, and libraries with POSIX extensions. Pcc is recommended only when broad external portability is mandated. It compiles slower, produces slower code (it takes extra work to simulate POSIX on Plan 9), eliminates those parts of the Plan 9 interface not related to POSIX, and illustrates the clumsiness of an environment designed by committee. Pcc is described in more detail in APE—The ANSI/POSIX Environment, by Howard Trickey.
I'm obviously aware that it wasn't the main compiler/compiler suite for Plan 9 (of which I've submitted links to papers about quite a few times), but it was there.
- 4ad 7y agoNo, it wasn't. Pcc is just kencc ran through a special mode and with special APE libraries. It has nothing to do with S. C. Johnson's pcc. > The pcc command acts as a front end to the Plan 9 C compilers and loaders. http://man.cat-v.org/plan_9/1/pcc http://man.cat-v.org/plan_9/1/pcc http://doc.cat-v.org/plan_9/4th_edition/papers/ape http://doc.cat-v.org/plan_9/4th_edition/papers/ape https://github.com/0intro/plan9/blob/master/sys/src/cmd/pcc.c https://github.com/0intro/plan9/blob/master/sys/src/cmd/pcc....
- kick 7y agoPoint ceded, sorry for being difficult!