IT lexicon › Programming › Object file

Object file

Programming På svenska → Updated: 2026-11-13

Intermediate format between compiled source and final executable, containing machine code but no entry point yet.

A compiler transforms source code into object files (.o, .obj) — binary code for functions and variables, but not yet linked to final memory addresses. The linker then combines multiple object files (and libraries) into an executable or shared library. Object files carry symbol tables, relocation information, and debug data, enabling the linker to wire everything together and the debugger to map back to source lines.

← Back to the lexicon