JMGross wrote:
I always use the -save-temps option to keep the temporary files for debugging and delete them right after
compilation. In case of a compiler error, make stops before deleting them. A convenient way to not clobber the code
folder with unnecessary files while having them when necessary.
To my surprise, the latest compiler produces empty object files if I delete the temp files. I I do not delete them, all is
well, but if I delete them (even manually after the compiling and linking is done), the next compilation run results in
an empty object file and a list file that reads 'no symbols, no code'.
I can reproduce this behavior with two -save-temps in gcc command line. With one -save-temps
everything looks ok.
Does anyone know why this is happening now?
I think it's because mingw32/msys build. Toolchain built from the same sources under linux works
fine. That's all I can say for now.
--
Regards,
Sergey A. Borshch mailto: [email protected]
SB ELDI ltd. Riga, Latvia