~kvik/wiki.9front.org

ref: 9a1b623e8e130ea5be97e1f8fadac1a7a1fa544a wiki.9front.org/programming.md -rw-r--r-- 737 bytes
9a1b623ekvik extra: add phil9's github 1 year, 4 months ago

#C Programming

#Pointers

Here are some pointers about C programming on Plan 9.

#Beginners

C Programming in Plan 9

#General information

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

#Style guides

#Notes

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.

#ANSI C

If an ANSI C compiler is needed, use pcc.

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