clang: add Italian translation.

italian
Marco Bonelli 2019-02-08 23:22:57 +01:00 committed by Starbeamrainbowlabs
parent 4f634a8f40
commit 10c9e5fca7
1 changed files with 19 additions and 0 deletions

19
pages.it/common/clang.md Normal file
View File

@ -0,0 +1,19 @@
# clang
> Compilatore per sorgenti C, C++ ed Objective-C. Può essere usato come alternativa a GCC.
- Compila un file sorgente in un binario eseguibile:
`clang {{sorgente_input.c}} -o {{eseguibile_output}}`
- Attiva l'output di tutti gli errori ed i warning:
`clang {{sorgente_input.c}} -Wall -o {{eseguibile_output}}`
- Includi librerie contenute in un percorso differente da quello del file di sorgente:
`clang {{sorgente_input.c}} -o {{eseguibile_output}} -I{{percorso_header}} -L{{percorso_librerie}} -l{{nome_libreria}}`
- Compila codice sorgente in IR LLVM (Intermediate Representation):
`clang -S -emit-llvm {{file.c}} -o {{file.ll}}`