This is an old revision of the document!
Alternatives:
GNU BFD Linker
gold
LLD
mold
iX 12/2022 - Page 112 - Ohne Linker kein Programm
iX 02/2023 - Page 136 - Mit dem richtigen Linker Zeit sparen
Create a symlink of /usr/bin/ld
to the linker of choice
Use of LDFLAGS
environment variable and there -fuse-ld=
, but this depends on support for the specific linker in the used compiler (e.g. GCC, Clang, …)
Workaround: Create a directory e.g. tools
, create a symlink to the linker of choice in there and use the option -Btools
in the LDFLAGS
environment variable.