-save-temps is broken

-save-temps is broken

Bild des Benutzers Ismail Donmez

[~]> icc -vicc version 12.1.0 (gcc version 4.6.0 compatibility)[~]> icc -save-temps -c t.c[~]>should produce t.i and t.s files but both are missing. Looks like a regression.

7 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Kittur Ganesh (Intel)

Hi,
The -save-temps option is used to save the intermediate files during compilation. The .s file is saved only if you use the -use-asm option. If you want to generate the preprocessed .i file, you'll have to use the -P compile option. The link http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/copts/common_options/option_save_temps.htm should give you more info on the -save-temps option,

Regards,
Kittur

Bild des Benutzers Ismail Donmez

-P indeed works but -save-temps doesn't work which is still a regression for gcc compatibility, no?

Bild des Benutzers Kittur Ganesh (Intel)

Hi Ismail,

I agree. The -save-temps option with icc is not 1:1 with gcc behavior as it won't save the .i or the .s file with that option alone with icc. Well, an issue has been filed with the developers on this and I'll update you as soon as the release with the fix is out. Appreciate your patience through this.

Regards,
Kittur

Bild des Benutzers Ismail Donmez

Thanks a lot! -P already works fine as a workaround.

Bild des Benutzers Kittur Ganesh (Intel)

Thanks for your patience in using the workaround Ismail. I'll let you know when the release with the fix it out - appreciate much.

Regards,
Kittur

Bild des Benutzers Kittur Ganesh (Intel)

Hi Ismail,
Just letting you know that this issue has been fixed in the latest 2013 release of the product that you can download from the registration center....
Regards,
Kittur

Melden Sie sich an, um einen Kommentar zu hinterlassen.