why can't I use sunperf?
I use the command "$cc -dalign -xarch=amd64 -xparrellel test.c -o a.out -xlic_lib=sunperf".
the it is showed that the sunperf lib can not be found.
I use the command "$cc -dalign -xarch=amd64 -xparrellel test.c -o a.out -xlic_lib=sunperf".
the it is showed that the sunperf lib can not be found.
Which version of compiler do you use? ( $cc -V)
-bash-3.00$ cc -V
cc: Sun C 5.8 Patch 121016-05 2007/01/10
Pls. check you have sunperf lib installed at <path-to-sun-studio>/prod/lib/amd64. For example,
bash-3.00$ ls -l /opt/SUNWspro/prod/lib/amd64/libsunperf.so*
lrwxrwxrwx1 rootother 15 Sep 22 2006 /opt/SUNWspro/prod/lib/amd64/libsunperf.so -> libsunperf.so.1
-rwxr-xr-x1 rootsys24768480 Aug 17 2006 /opt/SUNWspro/prod/lib/amd64/libsunperf.so.1