CmdID

CmdID / Commands

llvm-config

Get various configuration information needed to compile programs which use LLVM. 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

Get various configuration information needed to compile programs which use LLVM. Typically called from build systems, like in Makefiles or configure scripts.

Compile and link an LLVM based program

clang++ $(llvm-config --cxxflags --ldflags --libs) --output path/to/output_executable path/to/source.ccIdentify

Print the PREFIX of your LLVM installation

llvm-config --prefixIdentify

Print all targets supported by your LLVM build

llvm-config --targets-builtIdentify