mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
g++: update German translation (#9249)
This commit is contained in:
parent
b283d13ffb
commit
b38f3b34ff
1 changed files with 15 additions and 7 deletions
|
@ -6,16 +6,24 @@
|
|||
|
||||
- Kompiliere eine Quelldatei in eine ausführbare Binärdatei:
|
||||
|
||||
`g++ {{quelldatei.cpp}} -o {{output_datei}}`
|
||||
`g++ {{pfad/zu/quelldatei.cpp}} -o {{pfad/zu/binärdatei}}`
|
||||
|
||||
- Zeige (fast) alle Fehler und Warnungen an:
|
||||
- Zeige geläufige Fehler und Warnungen an:
|
||||
|
||||
`g++ {{quelldatei.cpp}} -Wall -o {{output_datei}}`
|
||||
`g++ {{pfad/zu/quelldatei.cpp}} -Wall -o {{pfad/zu/binärdatei}}`
|
||||
|
||||
- Wähle einen Sprachstandard für das Kompilieren:
|
||||
- Wähle einen Sprachstandard (C++98/C++11/C++14/C++17) für das Kompilieren:
|
||||
|
||||
`g++ {{quelldatei.cpp}} -std={{C++98|C++11|C++14|C++17}} -o {{output_datei}}`
|
||||
`g++ {{pfad/zu/quelldatei.cpp}} -std={{C++98|C++11|C++14|C++17}} -o {{pfad/zu/binärdatei}}`
|
||||
|
||||
- Binde Bibliotheken, die sich an einem anderen Pfad als die Quelldatei befinden mit ein:
|
||||
- Binde Bibliotheken, die sich an einem anderen Pfad als die Quelldatei befinden, ein:
|
||||
|
||||
`g++ {{quelldatei.cpp}} -o {{output_datei}} -I{{header_pfad}} -L{{bibliotheks_pfad}} -l{{bibliotheks_name}}`
|
||||
`g++ {{pfad/zu/quelldatei.cpp}} -o {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek}} -l{{bibliotheks_name}}`
|
||||
|
||||
- Kompiliere und linke mehrere Quelldateien in eine ausführbare Binärdatei:
|
||||
|
||||
`g++ -c {{pfad/zu/quelldatei_1.cpp pfad/zu/quelldatei_2.cpp ...}} && g++ -o {{pfad/zu/binärdatei}} {{pfad/zu/quelldatei_1.o pfad/zu/quelldatei_2.o ...}}`
|
||||
|
||||
- Gib die Version von `g++` aus:
|
||||
|
||||
`g++ --version`
|
||||
|
|
Loading…
Add table
Reference in a new issue