ref: b962b3f7da70cc249ae70c77d513a0af0306a154 wiki.9front.org/programming.md -rw-r--r-- 737 bytes
b962b3f7kvik cwfs: link to a backup-to-usb article 1 year, 4 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