Dan Kegel's Crosstool question re: non-native gprof

From: Nju Njoroge (njoroge_at_stanford.edu)
Date: 07/22/04


Date: 21 Jul 2004 16:18:39 -0700

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:
http://sources.redhat.com/ml/sid/2002-q2/msg00039.html). However, I
want a crosscompiled version (like the executables that have the
powerpc-405 prefix) because we found that gprof on linux x86 handles
ppc elf files differently than gprof on a linux ppc405. I followed the
suggestions in the link above, but no such executable was generated.
Then, I reran demo-ppc405.sh with the --nounpack option so that it
would recompile the source files without overwriting the configure.in.
That attempt did not work either. I relatively new to this process, so
I'm sure there are some obvious steps I am overlooking. Nonetheless, if
you could spare a few moments and provide some pointers, I would be
grateful.

Thanks,

Nju