[Change] GCC Add some samples

This commit is contained in:
ImmortalPC 2013-11-25 20:20:12 +01:00
parent 8a3cd5dff2
commit c5ecad85fc
1 changed files with 13 additions and 0 deletions

View File

@ -6,3 +6,16 @@ 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