![]() |
![]() |
![]() |
![]() |
![]() |
|
Later, you use the C compiler again to link the object files into an executable program:
main trades.o
*--------------* *--------------*
| Compiled | | Compiled |
| main | | function |
| definition | | definitions |
*--------------* *--------------*
| |
| *-----------------------*
| |
| |
v v
analyze_trades
*--------------*
| Executable |
| program |
*--------------*
The process of linking object files requires relatively little work, compared to the work required to produce object files from source-code files.