Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
2948 Posts
ACCEPTED ANSWER

Pinned topic purify 7.0.1.0-002 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
a.out
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
a.out
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