Problem with "fprofile-arcs -ftest-coverage" options

Problem with "fprofile-arcs -ftest-coverage" options

I am using icc intel64 compiler and want to do the code coverage analysis. For the same i am giving "fprofile-arcs -ftest-coverage" options along with other existing options in my make file and trying to complite the code then I am getting the below error. Even code got compiled and ".o" file generated by ".gcno" did not generated.

icpc: command line warning #10156: ignoring option '-fp'; no argument required
icpc: command line warning #10006: ignoring unknown option '-ftest-coverage'

Please tell the sugesion to proceed further. I am using gcc 4.1.x compatibility version.


2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Here is an overview of the Intel compiler test coverage:

I suppose you may wish to compare against results of gcc test coverage, but the detailed methodology is different.

Faça login para deixar um comentário.