From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22574 invoked by alias); 12 Apr 2007 00:46:02 -0000 Received: (qmail 22561 invoked by uid 22791); 12 Apr 2007 00:46:01 -0000 X-Spam-Check-By: sourceware.org Received: from ausmtp04.au.ibm.com (HELO ausmtp04.au.ibm.com) (202.81.18.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Apr 2007 01:45:57 +0100 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.8/8.13.8) with ESMTP id l3C14CK1211734 for ; Thu, 12 Apr 2007 11:04:12 +1000 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.250.242]) by sd0208e0.au.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l3C0nLZR162258 for ; Thu, 12 Apr 2007 10:49:21 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l3C0joJD027044 for ; Thu, 12 Apr 2007 10:45:51 +1000 Received: from ozlabs.au.ibm.com (ozlabs.au.ibm.com [9.190.163.12]) by d23av01.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l3C0joec027039; Thu, 12 Apr 2007 10:45:50 +1000 Received: from [10.61.2.156] (haven.au.ibm.com [9.190.164.82]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by ozlabs.au.ibm.com (Postfix) with ESMTP id 7EC3A73756; Thu, 12 Apr 2007 10:45:50 +1000 (EST) Subject: Re: [PATCH] enabling gprof for cross builds From: Ben Elliston To: Sanjay Chadha Cc: binutils@sourceware.org In-Reply-To: <000301c77ace$ee740120$1f28a8c0@Alps> References: <000301c77ace$ee740120$1f28a8c0@Alps> Content-Type: text/plain Date: Thu, 12 Apr 2007 04:08:00 -0000 Message-Id: <1176338749.5535.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00139.txt.bz2 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