Skip to footer navigation.

« Oatmeal


Example of how to use the plan9 c tool chain,

9c hi.c
9l hi.o -o hi

This will compile the source file hi.c, creating hi.o. Then, 9l, the linker, will create the executable hi from hi.o.

Screenshot of a hello.c program’s source code open on a classic Mac OS desktop.