Re: Gcov for user level application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux