On Tuesday 29 April 2008 18:44:15 Purushotham Nayak wrote:
> I'm trying to use gprof to profile some code but compilation fails
> because it can't find libstdc++_p (GCC 3.4.6). I tried using gcc 4.2
> but it can't find m_p. I have /usr/src/contrib/libstdc++ but can't
> find the documentation that the README file is referring to
> (docs/html/documentation.html). Can anyone please let me know how to
> get a profiled version of the c++ library for my platform.
> 
> I'm using FreeBSD 6.0 i386.

I thought they were installed by default, but in any case you should
find libstdc++_p.a under /usr/obj after doing this:

% cd /usr/src/gnu/lib/libstdc++/
% make obj && make depend && make

Make sure you don't have anything like NO_PROFILE, NOPROFILE or
WITHOUT_PROFILE defined in /etc/make.conf.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to