This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Stability of GCC 4.1 & gprof question
- From: Ian Lance Taylor <ian at airs dot com>
- To: "David Carter-Hitchin" <carter-hitchin at clara dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 22 Feb 2006 06:40:41 -0800
- Subject: Re: Stability of GCC 4.1 & gprof question
- References: <E1FBrez-0002yT-Qd@oceanus.uk.clara.net>
"David Carter-Hitchin" <carter-hitchin@clara.co.uk> writes:
> Hi, a) Can anyone say if GCC 4.1 is production ready now? I heard
> about some issues with 4.0, so hopefully 4.1 might be mature enough.
> Platform would be RHEL3 with Opteron if that is relevant. b) Is this
> the right mailing list for help gprof - I tried to find such a thing
> dedicated to gprof but could find one. My question is that when
> profiling code which loads shared objects, do the shared objects get
> profiled, or do you have to do something special to get them profiled?
a) This is the right gcc list for the question, but we are probably
the wrong people to ask. As far as most of us are concerned 4.0.3 is
ready for production code. It is being used in the Fedora Core
GNU/Linux distribution, for example. But only you can decide whether
is ready for your code.
b) gprof is usually covered on the binutils mailing list. See
http://sourceware.org/binutils/
If you want to profile shared objects, you need to compile them
with profiling turned on. If you do that, it should work. Or use
oprofile, which does not require a special compilation option.
Ian