The -save-temps
option instructs the compiler to keep
temporary files after compilation has finished.
The intermediate files will be placed in the current directory and have a
name based on the corresponding source file. Thus, compiling foo.c
with -save-temps
would produce foo.i,
foo.s and the foo.o object file.
The -save-temps=cwd
option is equivalent to
-save-temps
.