clang

Compiler for C, C++, and Objective-C source files. Can be used as a drop-in replacement for GCC. More information: https://clang.llvm.org/docs/ClangCommandLineReference.html.

clang input_source.c -o output_executable

clang input_source.c -Wall -o output_executable

clang input_source.c -o output_executable -Iheader_path -Llibrary_path -llibrary_name

clang -S -emit-llvm file.c -o file.ll

clang -c input_source.c

clang path/to/source.c -O1|2|3|fast