g++ and gprof

Mark Voortman mark_voortman at hotmail.com
Fri Mar 7 13:56:50 UTC 2008


I'm trying to use gprof on one of my programs and so I'm compiling with g++ and the -pg option. However, it tells me that '/usr/bin/ld: cannot find -lstdc++_p'. How do I install libraries that support profiling? Or is there another way to solve this issue? I'm running FreeBSD 7.0 release.


Helping your favorite cause is as easy as instant messaging. You IM, we give.

More information about the freebsd-questions mailing list