Compiles and links