mirror of
https://github.com/cheat/cheat.git
synced 2024-11-30 01:36:53 +01:00
22 lines
505 B
Plaintext
22 lines
505 B
Plaintext
# Compile a file
|
|
gcc file.c
|
|
|
|
# Compile a file with a custom output
|
|
gcc -o file file.c
|
|
|
|
# Debug symbols
|
|
gcc -g
|
|
|
|
# Debug with all symbols.
|
|
gcc -ggdb3
|
|
|
|
# Build for 64 bytes
|
|
gcc -m64
|
|
|
|
# Include the directory {/usr/include/myPersonnal/lib/} to the list of path for #include <....>
|
|
# With this option, no warning / error will be reported for the files in {/usr/include/myPersonnal/lib/}
|
|
gcc -isystem /usr/include/myPersonnal/lib/
|
|
|
|
# Build a GUI for windows (Mingw) (Will disable the term/console)
|
|
gcc -mwindows
|