Search notes:

gcc @compiler-options

Put useful compiler flags into a file (for example named compiler-options) and compile with these flags:
gcc main.c @compiler-options

See also

GCC options

Index