"David Carter-Hitchin" <carter-hitchin@xxxxxxxxxxx> 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