From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10840 invoked by alias); 19 Apr 2007 19:40:35 -0000 Received: (qmail 10781 invoked by uid 22791); 19 Apr 2007 19:40:35 -0000 X-Spam-Check-By: sourceware.org Received: from guri.is.scarlet.be (HELO guri.is.scarlet.be) (193.74.71.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Apr 2007 20:40:31 +0100 Received: from (ip-62-235-158-214.dsl.scarlet.be [62.235.158.214] (may be forged)) by guri.is.scarlet.be with ESMTP id l3JJeOx26274; Thu, 19 Apr 2007 21:40:24 +0200 Received: from [10.1.1.2] (dannypc [10.1.1.2]) by fw.local (Postfix) with ESMTP id 0F8C73683A; Thu, 19 Apr 2007 21:40:24 +0200 (CEST) Subject: Re: [PATCH] enabling gprof for cross builds From: Danny Backx To: John Tytgat Cc: binutils@sources.redhat.com In-Reply-To: <67338dd24e.Jo@hobbes.bass-software.com> References: <1176390019.14038.54.camel@dannypc> <67338dd24e.Jo@hobbes.bass-software.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kWazbrTb2lT7AYMYZdPs" Date: Thu, 19 Apr 2007 21:54:00 -0000 Message-Id: <1177011622.14038.138.camel@dannypc> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0-1mdv2007.0 X-DCC-scarlet.be-Metrics: guri 20001; Body=3 Fuz1=3 Fuz2=3 X-IsSubscribed: yes 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/msg00245.txt.bz2 --=-kWazbrTb2lT7AYMYZdPs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1452 I need to apologise, I probably anwered the wrong question. I've done stuff for gprof and gcov on the cegcc project. For gprof, the tweaks are now in a directory src/profile/profile in our svn; for gcov, they are in (roughly) src/gcc/gcc/*gcov* . The gcov stuff allows you to specify a different directory on the gcc command line, I didn't do this for gprof. Does any of this sound interesting ? I've been wanting to submit the gcov tweaks but I need to find the time. Also part of the process is that I need to ask the maintainers how to preferably get the information into the tool : should this via a gcc command line option, an environment variable, or both. Danny On Thu, 2007-04-12 at 21:39 +0100, John Tytgat wrote: > In message <1176390019.14038.54.camel@dannypc> > Danny Backx wrote: >=20 > > [ cross-compiled gprof ] > > I played with this a while ago for cegcc, and got it to work. (Host > > environment is either linux or cygwin, target is Windows CE on ARM.) > >=20 > > I have a patch that allows you to specify a different directory than the > > host source directory. > >=20 > > That means : > > [...] > >=20 > > I've been wanting to submit the code but didn't get around to it yet. > >=20 > > Should I clean it up and submit ? >=20 > I would be interested to see this commited. >=20 > Thanks for the effort, > John. --=20 Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info --=-kWazbrTb2lT7AYMYZdPs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBGJ8WlNEE+KCROU2kRAns+AJ9aIVdYgG/kc2TruA3uJbxLlgNfagCePVN4 bHxrD4OFxWJYOj0s1aMU8Yw= =jCMk -----END PGP SIGNATURE----- --=-kWazbrTb2lT7AYMYZdPs--