💾 Archived View for freeshell.de › tldr › clang++.gmi captured on 2023-11-04 at 12:20:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

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

clang++

Compiles C++ source files.
Part of LLVM.

More information.

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).

CC-BY