CmdID

CmdID / Commands

mold

A modern linker, and a faster drop-in replacement for GNU ld. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a build command such as make, ninja, or cargo, with mold used in place of ld

mold --run command argumentsIdentify

Link object files into an executable

mold path/to/file1.o path/to/file2.o ... --output path/to/output_executableIdentify

Link object files into a shared library

mold --shared path/to/file1.o path/to/file2.o ... --output path/to/library.soIdentify

Link an object file with a library located in a specific directory

mold path/to/file.o --library-path path/to/library_directory -llibrary_nameIdentify

Print which input files depend on which others for each symbol

mold --print-dependencies path/to/file1.o path/to/file2.o ... --output path/to/output_executableIdentify