Hi Kachin,
I want the source code of gprof as a .tar.bz2 file.
I know binutil contains gprof. but i dont want to
compile the entire binutil. i just want to compile
the gprof. what chages should i make???
Try this:
1. Download the sources for binutils. Even though you do not want all
of them there is no standalone gprof tarball available. It should not
matter that you have a few extra source directories lying around.
2. Unpack the tarball, create a build directory, and run the configure
script with the target you have in mind. e.g.:
% tar xf binutils.tar.bz2
% mkdir build
% cd build
% ../configure --target=arm-elf
3. Now just build the gprof part of the binutils:
% make all-gprof
4. If you want gprof installed then run:
% make install-gprof
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils