4.6.5.5 Save-temps Option
The -save-temps
option instructs the compiler to keep temporary files after compilation has finished. These files are particularly 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.s assembly file and the foo.o object file.
This option does not generate a .i
preprocessed source file, but such files are generated and retained when using the -Wa,-a
option to generate an assembly list file.