mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-19 05:56:02 +02:00
gcc: add -g to -Wall -Og example (#9088)
This commit is contained in:
parent
ea0a5167c7
commit
8cd6567f44
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@
|
|||
|
||||
`gcc {{path/to/source1.c path/to/source2.c ...}} -o {{path/to/output_executable}}`
|
||||
|
||||
- Show common warnings, debug symbols in output:
|
||||
- Show common warnings, debug symbols in output, and optimize without affecting debugging:
|
||||
|
||||
`gcc {{path/to/source.c}} -Wall -Og -o {{path/to/output_executable}}`
|
||||
`gcc {{path/to/source.c}} -Wall -g -Og -o {{path/to/output_executable}}`
|
||||
|
||||
- Include libraries from a different path:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue