Lecture #1 Questions
- The makefile discussed in class uses a command gcc -c module1.c. What is the difference between this command and gcc module1.c?
- gcc -S module1.c produces assembly code for the file module1.c. Is the assembly code a host language, target language, neither? Does this assembly code contain linking and loader information? Why or why not?
- Why might you use conditional translation in a C program?
- Why might you use a macro in an assembly language program?
- What is the difference between an external and relative reference? Give two examples of each.
- Why might you want to kill a running process?
- Give another example of using the pipe command than the one shown in class.
- What does the term "binding time" refer to?
- Give an example of something that is bound during: (a) compilation (b) linking (c) loading (d) execution
- What is the difference between an implicit dependency and an explicit dependency? Give an example of each.
- Why use makefiles?
© Douglas J. Ryan / ryandj@pacificu.edu