Hi,
I have been using the crosstools to extract gprof that is crosscompiled for the powerpc-405. Since gprof is supposed to work on various formatted binaries, it is in the native_only list in the configure.in file (see this discussion:
Thanks,
Nju
Hi,
I have been using the crosstools to extract gprof that is crosscompiled for the powerpc-405. Since gprof is supposed to work on various formatted binaries, it is in the native_only list in the configure.in file (see this discussion:
Thanks,
Nju
Dan Kegel replied to me in a separate e-mail. Based on his advice, I was able to fix it. I have copied and pasted the e-mail exchange.
Read below....
Nju Dan Kegel wrote:
x86 gprof will work on ppc405 binaries. However, we noticed that it doesn't work as well as ppc405 gprof on ppc405 binaries. For some reason, x86 gprof reports that some functions were called that were never called. Fortunately, these extra functions do not influence the real results because they typically "run" for < 1% of the total runtime.
Thanks! I updated the configure file as well and this fixed it.
indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
change
Have something to add? Share your thoughts — no account required.
Ask the community — no account required