7.7.1.3 Miscellaneous
-save-temps
Do not delete temporary files. Store the usual 'temporary' intermediate files permanently; place them in the current directory and name them based on the source file. Thus, compiling foo.c with -c -save-temps would produce files foo.i and foo.s, as well as foo.o. This creates a preprocessed foo.i output file even though the compiler now usually uses an integrated preprocessor.