CompOrg Fall 2004 Homework #1 FAQ


Homework #1 FAQ

Question:

The file we submit should not have a main() in it, is that right?

Answer:

Correct. We will supply our own main to test your functions. We will, in fact compile your code to object code with gcc -c hw1.c, this will create hw1.o, then we will link with out main code like this: gcc -o hw1 hw1.o main.o