$linuxjunkies
>

compiler

also: GCC, gcc, clang, C compiler

A program that translates human-readable source code (usually in languages like C, C++, or Rust) into machine-executable binary code or intermediate code that the computer can run.

A compiler reads source code written in a high-level programming language and converts it into lower-level code—typically machine code (object files) or assembly language. This translation happens in one comprehensive pass, producing an executable binary file that runs directly on the system.

For example, the GNU C Compiler (gcc) takes a C source file and compiles it: gcc -o myprogram myprogram.c creates an executable binary from the source code.

Unlike interpreters that execute code line-by-line at runtime, compilers translate the entire program upfront, resulting in faster execution. Linux systems rely on compilers (like gcc and clang) to build the kernel, system utilities, and user applications from source code.

Related terms