This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] enabling gprof for cross builds


On Mon, 2007-04-09 at 13:45 -0400, Sanjay Chadha wrote:

> [schadha@devjava1-fc4 binutils-2.15.91.0.2]$ ./configure
> --target=mipsel-linux --host==mipsel-linux
> [schadha@devjava1-fc4 binutils-2.15.91.0.2]$ make
> 
> However the compiled gprof was compiled for the host (i386) machine. Any
> ideas of what other changes may be required to cross compile gprof for
> the mips machine.

gprof runs on the host, not on the target (but it reads target object
code, of course).  In your configure command line above, I see you used
==, not =.  Perhaps that is your problem.

Ben



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]