💾 Archived View for freeshell.de › tldr › llvm-config.gmi captured on 2023-04-20 at 00:11:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

llvm-config

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

More information.

clang++ $(llvm-config --cxxflags --ldflags --libs) --output {path/to/output_executable} {path/to/source.cc}
llvm-config --prefix
llvm-config --targets-built
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY