|
From: | Nick Clifton |
Subject: | Re: Need gprof |
Date: | Thu, 12 Nov 2009 10:10:53 +0000 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |