gprof for IA-64
Does anybody have gprof working on their IA-64 box? I saw some 'gprof for IA-64' patches go into binutils recently, but I can't get things to work right on my BigSur. Are any steps other than downloading and building the latest binutils necessary? Thanks,
Chris
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
">" = Ahna, Christopher J <[email protected]> writes:
Does anybody have gprof working on their IA-64 box? I saw some 'gprof for IA-64' patches go into binutils recently, but I can't get things to work right on my BigSur. Are any steps other than downloading and building the latest binutils necessary? Thanks,
You need the latest glibc from CVS as well for it to work.
Jes
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Christopher J
Ahna> Does anybody have gprof working on their IA-64 box? I saw Ahna> some 'gprof for IA-64' patches go into binutils recently, but Ahna> I can't get things to work right on my BigSur. Are any steps Ahna> other than downloading and building the latest binutils Ahna> necessary? Thanks,
IIRC, the libc that ships with "Fisher" supports profiling. So if you applied the gprof patch and have a recent enough version of libc, you should be all set.
What exactly do you mean by "can't get things to work right"? What's failing? How did you compile/link the program? I normally use:
gcc -profile -pg files...
--david