💾 Archived View for freeshell.de › tldr › clang++.gmi captured on 2022-06-11 at 21:32:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Compiles C++ source files.
Part of LLVM.
clang++ {path/to/source.cpp} -o {path/to/output_executable}
clang++ {path/to/source.cpp} -Wall -o {path/to/output_executable}
clang++ {path/to/source.cpp} -std={c++20} -o {path/to/output_executable}
clang++ {path/to/source.cpp} -o {path/to/output_executable} -I{path/to/header_path} -L{path/to/library_path} -l{path/to/library_name}
clang++ -S -emit-llvm {path/to/source.cpp} -o {path/to/output.ll}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).