1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.pt_BR/common/gcc.md
Vitor Henrique 52b4605356
pages.pt*: fix verb tenses (#11792)
* pages.pt*: fix verb tenses

* pages.pt*: fix all pt_PT verb tenses in the start and more pt_BR verb tenses

* pages.pt_BR: fix more verb tenses

* pages.pt_BR: fix more verb tenses

* pages.pt_BR: fix more verb tenses

* pages.pt*: fix more verb tenses

* review PR

---------

Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
Co-authored-by: Isaac Vicente <contatoisaacvicente@gmail.com>
2023-12-27 15:37:07 -03:00

811 B

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.

  • Compila múltiplos arquivos de código fonte, produzindo um arquivo executável:

gcc {{arquivo_fonte1.c}} {{arquivo_fonte2.c}} --output {{arquivo_executável}}

  • Habilita avisos durante a compilação:

gcc {{arquivo_fonte.c}} -Wall -Og --output {{arquivo_executável}}

  • Inclui bibliotecas de um local diferente:

gcc {{arquivo_fonte.c}} --output {{arquivo_executável}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}

  • Compila o código fonte para instruções Assembler:

gcc -S {{arquivo_fonte.c}}

  • Compila o código fonte sem efetuar a fase de linking:

gcc -c {{arquivo_fonte.c}}