This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Turning off gcov build for embedded processor


Dan Towner wrote:

I guess I will have to. The problem is that the code uses stdio, malloc, free, and whole reams of other library functions that we don't support on our embedded processor. Though of course, we don't need to create the actual functions, just make it appear as though we have.
ah, yes the stuff in libgcc. I don't know if your tracking 3.3 or CVS head.
Head has broken those out into a libgcov, so it might make sense to add
configurey stuff to disable it. That'd be better than simply having
empty function stubs -- you'll get a link error, rather than being confused
when you get no coverage information. Just have it keyed on the target
triplet in the appropriate place - or maybe have a makefile fragment in
gcc/config/picochip directory, to override some suitable make variable.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan at codesourcery dot com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm dot org



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