GNU ld review
A mature, scriptable linker for GNU toolchains and Unix-style builds.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
GNU ld is the standard GNU Binutils linker for combining object files and libraries into executable, shared-library, or relocatable output. It resolves symbols, applies relocations, and supports multiple object-file formats and emulations. Its audience includes solo developers, small and mid-market teams, and enterprises working with GNU/Linux or Unix-style toolchains, as well as Windows environments that use the listed platforms. The open-source project is self-hosted and suited to teams that want direct control of the native build and link process.
The free, open-source model keeps GNU ld available without a paid tier. Its ecosystem fit centers on GCC and GNU Binutils, with dynamically loaded plugins for compiler link-time optimization. Core controls cover symbol resolution, archive searching, library search paths, output format, entry points, and symbol assignments. These capabilities make it a practical component of toolchains that need executable, shared-library, and relocatable artifacts rather than a narrow single-output linker.
Linker scripts are the defining depth: a supplied script can specify sections, memory layout, entry points, symbol assignments, search paths, and output format, while the built-in default script handles standard cases. That control suits custom memory maps, specialized binaries, and builds requiring explicit symbol or archive behavior. The tradeoff is operational rather than feature scarcity: self-hosted deployment places toolchain management with the team, and support is limited to community channels and documentation rather than 24/7 assistance. Teams needing a different platform coverage profile may prefer lld, while GNU-focused projects should choose GNU ld when scriptability, GCC integration, and LTO support are priorities.
GNU ld pros and cons
- Where it wins
- Produces executable, shared-library, and relocatable outputs.
- Linker scripts control sections, memory layout, entry points, and symbols.
- Integrates with GCC, GNU Binutils, and LTO plugins.
- Where it doesn't
- Platform coverage is narrower than lld.
- Support is community and documentation, without 24/7 coverage.
- Self-hosted deployment requires managing the toolchain environment.
GNU ld fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update