-save-temps is broken

-save-temps is broken

[~]> 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 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

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

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

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

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

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

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

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi