wiki.9front.org/programming.md -rw-r--r-- 737 bytes
b0f24297Sigrid Solveig Haflínudóttir 9p on unix: change the 9pfs url 5 months ago

#C Programming


Here are some pointers about C programming on Plan 9.


C Programming in Plan 9

#General information

  • 2c(1), 2l(1), 2a(1)
  • /sys/doc/comp.ps
  • /sys/doc/compiler.ps

#Style guides


2c, 6c, 8c, etc all refer to the same compiler suite, but each compiles for a different target architecture. The compiler suite is sometimes referred to as kencc. The language itself is sometimes referred to as 9c.


If an ANSI C compiler is needed, use pcc.

  • pcc(1)
  • cpp(1)
  • /sys/doc/ape.ps