g++ and gprof

Mark Voortman mark_voortman at hotmail.com
Fri Mar 7 15:24:02 UTC 2008


> From: pieter at degoeje.nl
> To: freebsd-questions at freebsd.org
> Subject: Re: g++ and gprof
> Date: Fri, 7 Mar 2008 15:52:04 +0100
> CC: mark_voortman at hotmail.com
> 
> On Friday 07 March 2008, Mark Voortman wrote:
> >  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
> 
> Rebuild/reinstall world, and make sure WITHOUT_PROFILE= isn't specified in 
> src.conf.
> 
> 
> -- 
> Pieter de Goeje
> 

Oops, they are just on the FreeBSD cd. Thanks for your reply!

Mark


_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx


More information about the freebsd-questions mailing list