CS 70

Before You Start

We have a source file, farm.cpp, and we want to compile it into an executable program called farm.

What command do you need to perform to produce the object file farm.o from farm.cpp? (Give a bare-minimum command, with no extra compiler options; for example, skip any options for warnings.)

What are the stages of compilation that occur behind the scenes to make this object file?

What command do you need to perform to link farm.o with the standard library, creating the executable file called farm? (Give a bare-minimum command, with no extra compiler options.)

  • LHS Cow speaking

    Okay, now let's get on with the lesson!

(When logged in, completion status appears here.)