4.6.5.5 Save-temps Option
The -save-temps
option instructs the compiler to keep temporary files after compilation has finished. You might find the generated .i and .s temporary files in particular useful for troubleshooting, and they are often used by the Microchip Support team when you enter a support ticket.
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
.