.cc
file
into an executable file. Describe briefly what each processing program
does.
2. Tell what each of the following g++ command line
options does: -g -c -I -L -l -D -o
.
3. Tell how each of the following environment variables is used:
PATH
, MANPATH
, LD_LIBRARY_PATH
,
CXXFLAGS
.
4. Define the following terms for the make command: target, dependency, rule. Include an explanation of what the make command does in your answer.
5. Name the virtual-memory segments of a program and tell what kind of information would be found in each one.
6. Tell what the mmap() system call does, and tell how it is used in the implementation of shared libraries. (Help: If you don’'t know the exact answer to this you can get partial credit by telling what the mmap() system call does and by defining shared libraries.)
7. Tell what each of the following system calls does: fork(), exec(), wait(), signal(), sigset(), kill(), alarm().