Compile Ch 6 examples