clang, clang++, gcc, g++: edit page (#11629)

This commit is contained in:
Juri Dispan
2023-12-02 09:26:47 +01:00
committed by GitHub
parent 1b8d89e38d
commit ee1478533d
4 changed files with 16 additions and 0 deletions

View File

@@ -24,6 +24,10 @@
`g++ -c {{path/to/source_1.cpp path/to/source_2.cpp ...}} && g++ -o {{path/to/output_executable}} {{path/to/source_1.o path/to/source_2.o ...}}`
- Optimize the compiled program for performance:
`g++ {{path/to/source.cpp}} -O{{1|2|3|fast}} -o {{path/to/output_executable}}`
- Display version:
`g++ --version`