gprof for shared libraries

2007-01-04 Thread chanaka
"comp.h" #include using namespace std; int main () { cout << "IN MAIN" << endl; sayHelloG(); detailsG(22, "Gavinda"); cout << "AGAIN IN MAIN" << endl; r

gprof for shared libraries

2006-12-11 Thread chanaka Nanayakkara
could anyone pleace tell me how to get gprof details about shared libraries? thank you for spending some time for me. - Want to start your own business? Learn how on Yahoo! Small Business.___ help-gnu-utils mailing lis

gprof output for shared libraries

2006-12-28 Thread chanaka Nanayakkara
I'm working with, solaris-9 and using g++ compiler. I’m trying to get gprof output for a binary file which includes a shared library. So I wrote a library like this, It contains one .cpp file called comp.cpp. So I compiled it like this, g++ -c –fPIC –pg comp.cpp Then I linked it like