💾 Archived View for freeshell.de › tldr › clang.gmi captured on 2023-09-28 at 16:19:49. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

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

clang

Compiler for C, C++, and Objective-C source files. Can be used as a drop-in replacement for GCC.

More information.

clang {input_source.c} -o {output_executable}
clang {input_source.c} -Wall -o {output_executable}
clang {input_source.c} -o {output_executable} -I{header_path} -L{library_path} -l{library_name}
clang -S -emit-llvm {file.c} -o {file.ll}
clang -c {input_source.c}
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