md-notes/gcc.md

8 lines
200 B
Markdown
Executable File

# GCC
### compilation flags
- `-g` ~ enable debugging mode (for gdb to show running c code also)]
- `-Wall` ~ enable all warnings
- `-o binary` ~ output to binary file
- `-S` ~ also compile asm file