g++ and gprof

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


 Folks,

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.

Thanks,
Mark


_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join


More information about the freebsd-questions mailing list