mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:15:42 +02:00
gcc: add pt_BR translation (#3399)
This commit is contained in:
parent
d31cde008e
commit
aa48db41ee
1 changed files with 24 additions and 0 deletions
24
pages.pt_BR/common/gcc.md
Normal file
24
pages.pt_BR/common/gcc.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue