Compila archivos fuente C, C+ y Objective-C. Se puede utilizar como un reemplazo para GCC. Parte de LLVM. Más información: https://clang.llvm.org/docs/ClangCommandLineReference.html.
clang {{ruta/a/fuente1.c ruta/a/fuente2.c ...}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}
clang {{ruta/a/fuente.c}} -Wall {{[-o|--output]}} {{ejecutable_resultante}}
clang {{ruta/a/fuente.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}
clang {{ruta/a/fuente.c}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}} -I{{ruta/al/encabezado}} -L{{ruta/a/la/biblioteca}} -l{{nombre_biblioteca}}
clang {{[-S|--assemble]}} -emit-llvm {{ruta/a/fuente.c}} {{[-o|--output]}} {{ruta/a/la/salida.ll}}
clang {{[-c|--compile]}} {{ruta/a/fuente.c}}
clang {{ruta/a/fuente.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}
clang --version