Forrest logo
back to context overview

llvm-config

List of commands for llvm-config:

  • llvm-config:tldr:8c2eb llvm-config: Compile and link an LLVM based program.
    $ clang++ $(llvm-config --cxxflags --ldflags --libs) --output ${path-to-output_executable} ${path-to-source-cc}
    try on your machine
    explain this command
  • llvm-config:tldr:ab0d0 llvm-config: Print the `PREFIX` of your LLVM installation.
    $ llvm-config --prefix
    try on your machine
    explain this command
  • llvm-config:tldr:f12a1 llvm-config: Print all targets supported by your LLVM build.
    $ llvm-config --targets-built
    try on your machine
    explain this command
back to context overview