compiles, links, and prints