Pcornel
Linux · Software & Source

Build Tools

Cheat sheet · https://pcornel.dk/topic.php?topic=2907

Back to the Topic

Answer

Build tools compile and package software: compilers (gcc, clang), make and build systems (CMake, Meson, autotools), and language tools (pip, npm, cargo, go).

Remember

Install the distribution's development group first. Missing headers mean missing -dev/-devel packages. Use language-specific virtual environments (venv, node_modules) instead of installing into the system.

First checks

  • git status / git log --oneline -5 — repository state
  • ldd <binary> — shared libraries
  • ldconfig -p | grep <lib> — libraries in the linker cache
  • make --version; gcc --version — build tools

Verify in this order

toolchain + dependencies → configure → compile → link → install

Where it usually breaks

First mismatch in persistent intent → provider/parser/generator → kernel/userspace runtime → dependency/security context → logs/counters → consumer-visible read-back; preserve identity/native diagnostic/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2907

Confirmation

Confirm action

Continue?