mpicc: add page and Italian translation (#9966)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Marco Bonelli <marco@mebeim.net>
pull/23/head
mSamiolo 2023-04-13 03:46:41 +01:00 committed by GitHub
parent 834022d021
commit bead5b8458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

17
pages.it/linux/mpicc.md Normal file
View File

@ -0,0 +1,17 @@
# mpicc
> Involucro Open MPI per il compilatore di C.
> Shell che esegue sul compilatore, aggiungono i relevanti argomenti e linkers necessari a compilare/collegare programmi Open MPI, invocando il sottostante compilatore di C per effettuare le effetive operazioni.
> Maggiori informazioni: <https://www.mpich.org/static/docs/latest/www1/mpicc.html>.
- Compila un file sorgente in un file oggetto:
`mpicc -c {{percorso/del/file.c}}`
- Linka un file oggetto file e genera un eseguibile:
`mpicc -o {{executable}} {{percorso/del/file.o}}`
- Linka e compila i file sorgente in un solo commando:
`mpicc -o {{executable}} {{percorso/del/file.c}}`

17
pages/linux/mpicc.md Normal file
View File

@ -0,0 +1,17 @@
# mpicc
> Open MPI C wrapper compiler.
> The wrappers are simply thin shells on top of a C compiler, they add the relevant compiler and linker flags to the command line that are necessary to compile/link Open MPI programs, and then invoke the underlying C compiler to actually perform the command.
> More information: <https://www.mpich.org/static/docs/latest/www1/mpicc.html>.
- Compile a source code file into an object file:
`mpicc -c {{path/to/file.c}}`
- Link an object file and make an executable:
`mpicc -o {{executable}} {{path/to/object_file.o}}`
- Compile and link source code in a single command:
`mpicc -o {{executable}} {{path/to/file.c}}`