There also exists an alternative to imake, cdstool, which you can use to compile simple binaries. The cdstool utility is a wrapper for the C compiler delivered with the ChorusOS operating system.
#include <stdio.h> main() { printf("Hello world\n"); }
host% build_dir/bin/cdstool cc example.c -o example
$ |