wisconsin
W14

W14

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Week 14 Objectives
This Week
Read before Next Week
Forward Declaration
Declaration vs. Definition
Multifile Coding
Header File (filename.h) – “public” interface
Source File (filename.c) – “private” implementation
Multifile Compilation
gcc Compiler Driver
Object Files
Compiling All at Once (gcc does it all to create EOF)
Compile Separately (gcc builds individual ROF)
Makefiles
Example
Using
Relocatable Object Files (ROFs)
Executable and Linkable Format (ELF)
Static Linking
Static vs. Dynamic
Making Things Private
Linker Symbols
Linker Symbol Table
ELF_Symbol Data Members and their Use
Example readelf -s
Symbol Resolution
Compiler’s Resolution Work
Linker’s Resolution Work