From 4c0aa1ac0cb7541cd982040668faad0d842aa1a2 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 2 Jul 2021 20:38:46 +0100 Subject: [PATCH] gcc: add long flag (#6182) --- pages.de/common/gcc.md | 6 +++--- pages.pt_BR/common/gcc.md | 6 +++--- pages/common/gcc.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages.de/common/gcc.md b/pages.de/common/gcc.md index 75c42e7bd..8972035d3 100644 --- a/pages.de/common/gcc.md +++ b/pages.de/common/gcc.md @@ -5,15 +5,15 @@ - Kompiliere mehrere Quellcodedateien zu einer ausführbaren Datei: -`gcc {{pfad/zu/datei1.c}} {{pfad/zu/datei2.c}} -o {{pfad/zu/binärdatei}}` +`gcc {{pfad/zu/datei1.c}} {{pfad/zu/datei2.c}} --output {{pfad/zu/binärdatei}}` - Erlaube Warnungen und debug-Symbole in der Ausgabedatei: -`gcc {{pfad/zu/datei.c}} -Wall -Og -o {{pfad/zu/binärdatei}}` +`gcc {{pfad/zu/datei.c}} -Wall -Og --output {{pfad/zu/binärdatei}}` - Inkludiere Bibliotheken aus anderen Verzeichnissen: -`gcc {{pfad/zu/datei.c}} -o {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek1}} -l{{pfad/zu/bibliothek2}}` +`gcc {{pfad/zu/datei.c}} --output {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek1}} -l{{pfad/zu/bibliothek2}}` - Kompiliere Quellcodedateien zu Assemblerinstruktionen: diff --git a/pages.pt_BR/common/gcc.md b/pages.pt_BR/common/gcc.md index 949e13489..a6e948a25 100644 --- a/pages.pt_BR/common/gcc.md +++ b/pages.pt_BR/common/gcc.md @@ -5,15 +5,15 @@ - Compilar múltiplos arquivos de código fonte, produzindo um arquivo executável: -`gcc {{arquivo_fonte1.c}} {{arquivo_fonte2.c}} -o {{arquivo_executável}}` +`gcc {{arquivo_fonte1.c}} {{arquivo_fonte2.c}} --output {{arquivo_executável}}` - Habilitar avisos durante a compilação: -`gcc {{arquivo_fonte.c}} -Wall -Og -o {{arquivo_executável}}` +`gcc {{arquivo_fonte.c}} -Wall -Og --output {{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}}` +`gcc {{arquivo_fonte.c}} --output {{arquivo_executável}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}` - Compilar o código fonte para instruções Assembler: diff --git a/pages/common/gcc.md b/pages/common/gcc.md index 238b9d46e..fd34bcb97 100644 --- a/pages/common/gcc.md +++ b/pages/common/gcc.md @@ -5,15 +5,15 @@ - Compile multiple source files into executable: -`gcc {{source1.c}} {{source2.c}} -o {{executable}}` +`gcc {{source1.c}} {{source2.c}} --output {{executable}}` - Allow warnings, debug symbols in output: -`gcc {{source.c}} -Wall -Og -o {{executable}}` +`gcc {{source.c}} -Wall -Og --output {{executable}}` - Include libraries from a different path: -`gcc {{source.c}} -o {{executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` +`gcc {{source.c}} --output {{executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` - Compile source code into Assembler instructions: