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


Nathan,

Dan Towner wrote:

Hi all,

I am writing a gcc port for an embedded processor. The processor will not be able to support gcov, and currently cannot build the gcov program at all. However, the configure and build mechanism always try to make gcov, and hence always fail. Is there a way I can stop the configure/build mechanism from building gcov?

not at the moment. You'd have to add a --disable-coverage option to configure, and then propagate it into Makefile.in to DTRT.

Can you not fix gcov so it compiles?

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.


thanks,

dan.

=============================================================================
Daniel Towner
picoChip Designs Ltd., Riverside Buildings, 108, Walcot Street, BATH, BA1 5BG
dant at picochip dot com
07786 702589




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