• No replies
2948 Posts

Pinned topic purify is not working for Sun C++ 5.9 SunOS compiler

‏2011-11-11T08:49:29Z |
I am trying to instrument a simple helloworld.cpp program with Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 but it is not instrumenting the code but same thing is working for Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12. I used the same command for both C++ and C program

Following is the command used for C
cc -g -c helloworld.c
purify -best-effort cc -g helloworld.o
this is working fine but if i do the same thing with CC
CC -g -c helloworld.cpp
purify -best-effort CC -g helloworld.o
It is not instrumenting the code also it is not throwing any error or exception every thing just goes fine as if I am not using purify command.
Please help me out on this ASAP. Thanks in advance