Content originally posted in LPCWare by Ramesh on Wed Oct 15 21:51:01 MST 2014
is LPC Xpresso will support to Code coverage tool Gcov? if supported what are the precautions need to be taken.
I've tried the steps that are involved in Eclipse as
"the user has to compile the C/C++ program with profiling enabled using "-ftest-coverage -fprofile-arcs" options prior to running the tool. These two options must be passed via the project properties to both the compiler (C/C++ Build->Settings->Tool Settings->GCC C Compiler->Miscellaneous->Other flags) and the linker (C/C++ Build->Settings->Tool Settings->GCC C Linker->Miscellaneous->Linker flags)."
but even am unable to get the .gcov file.
CAn anybody suggest for the same.
Ramesh