Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2008 15:52:04 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Mark Voortman <mark_voortman@hotmail.com>
Subject:   Re: g++ and gprof
Message-ID:  <200803071552.04941.pieter@degoeje.nl>
In-Reply-To: <BAY138-W5648D0AF33E7644F18E3D297130@phx.gbl>
References:  <BAY138-W5648D0AF33E7644F18E3D297130@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803071552.04941.pieter>