gcc: add pt_BR translation (#3399)

italian
Rui Alves 2019-10-24 03:09:26 +01:00 committed by Andrik Albuquerque
parent d31cde008e
commit aa48db41ee
1 changed files with 24 additions and 0 deletions

24
pages.pt_BR/common/gcc.md Normal file
View File

@ -0,0 +1,24 @@
# gcc
> Compilador de arquivos de código fonte C e C++, efetuando também as fases de pré-processamento, assembling e linking.
> Mais informações: <https://gcc.gnu.org>.
- Compilar múltiplos arquivos de código fonte, produzindo um arquivo executável:
`gcc {{arquivo_fonte1.c}} {{arquivo_fonte2.c}} -o {{arquivo_executável}}`
- Habilitar avisos durante a compilação:
`gcc {{arquivo_fonte.c}} -Wall -Og -o {{arquivo_executável}}`
- Incluir bibliotecas de um local diferente:
`gcc {{arquivo_fonte.c}} -o {{arquivo_executável}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}`
- Compilar o código fonte para instruções Assembler:
`gcc -S {{arquivo_fonte.c}}`
- Compilar o código fonte sem efetuar a fase de linking:
`gcc -c {{arquivo_fonte.c}}`