Pedro,

I think I've finally figured out all the build quirks for gcov support.

At least one of the things I've modified in my local source tree
requires some feedback from you, though.

As you already know, getting the coverage support to work required
removing the -Dinhibit_libc from the build. That triggers other things.

To get everything to build for the mingw target, I've had to touch the
mingw errno.h file. It used to start with :
#ifdef __COREDLL__
# include_next <errno.h>
#else /* __COREDLL__ */

Our mingw compiler always defines __COREDLL__ (see
src/gcc/gcc/config/arm/mingw32.h).

There's no other errno.h in my installation under /opt/mingw32ce. Also
this file (src/mingw/include/errno.h) only gets installed in the mingw
target, not in the cegcc target.

So my conclusion is that the #ifdef __COREDLL__ shouldn't be there.

Is this a correct conclusion or am I missing something ?

After your reply and a little more testing I'll probably post a complete
patch for you to review. As a Christmas present or so :-)

Cheers,

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to