From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14798 invoked by alias); 2 Aug 2005 17:02:16 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14780 invoked by uid 22791); 2 Aug 2005 17:02:11 -0000 Received: from dumbledore.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.11) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 02 Aug 2005 17:02:11 +0000 Received: (qmail 26719 invoked from network); 2 Aug 2005 17:02:09 -0000 Received: from unknown (HELO ?192.168.189.167?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Aug 2005 17:02:09 -0000 Message-ID: <42EFA713.8050305@codesourcery.com> Date: Tue, 02 Aug 2005 17:02:00 -0000 From: Nathan Sidwell User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) MIME-Version: 1.0 To: Ringo Pebam CC: gcc-help@gcc.gnu.org Subject: Re: Gcov for user level application References: <20050719065454.88596.qmail@web50008.mail.yahoo.com> In-Reply-To: <20050719065454.88596.qmail@web50008.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-08/txt/msg00043.txt.bz2 Ringo Pebam wrote: > Hi, > > I compile my user level application code on my host machine with the appropiate > cross compiler. > > It generates the .bb and .bbg files plus the executable. > > I transfer these 3 files to the target device and there i tried running the > executable, hoping to get the .da file. But it is not generated. you only need the exectuable on the target. It should produce the .da file whetehr or not the other files are there. Can your target write to a file? > I thought the kernel running on the target(arm9 processor) doesnt supports gcov > for user level application, and went to makemenuconfig, there the option is only > for kernel and not user level applications. this is not a kernel feature. > > Could you please suggest me how should make Gcov work on my target device ?? > > I am thinking of cross compiling the gcov source and put it on the target > device. Could anybody tell me where i could find the gcov source code ? It sounds like the target cannot create files on the file system. That would be a libc issue. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk