mold
A modern linker, and a faster drop-in replacement for GNU
ld. See also:ld. More information: https://github.com/rui314/mold/blob/main/docs/mold.md.
- Run a build command such as
make,ninja, orcargo, withmoldused in place ofld:
mold --run
- Link object files into an executable:
mold
- Link object files into a shared library:
mold --shared
- Link an object file with a library located in a specific directory:
mold -l
- Print which input files depend on which others for each symbol:
mold --print-dependencies
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
