Compilers compatible with gprof?

Go To StackoverFlow.com

1

I am looking for a list of compilers able to generate a gprof output.

2009-06-16 08:46
by Jérôme


1

gprof is supported beyond gcc. For instance, Sun Studio supports it, as does the berkeley compiler.

2009-06-16 09:06
by Alex Brown
not an exhaustive list, but at least that is a beginnin - Jérôme 2009-06-16 09:13


0

Depending upon your platform, you might find that a dynamic run-time tool such as dtrace or oprofile can help.

These are not compilers, but can provide the same kind of data as gprof, and can be applied to existing programs without needing the source or having to recompile them.

oprofile has a mode to directly output gprof compatible data:

http://oprofile.sourceforge.net/doc/opgprof.html

2009-06-16 08:57
by Alex Brown
That is not my point. I already know these tools, I am asking myself how standard is gprof - Jérôme 2009-06-16 08:59
Ads