delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | Using gcov with DLLs |
Date: | Mon, 6 Aug 2007 10:02:14 -0400 |
Message-ID: | <8B4D794E269B394B9508B8B64613A4D98FAF0F@USINKOK-EX12.NorthAmerica.DelphiAuto.net> |
From: | "Sweval, Jevin A" <jevin DOT a DOT sweval AT delphi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l76E3qNc026735 |
How can I get gcov coverage to work when making DLLs? I compile with `-fprofile-arcs -ftest-coverage` and link with `-lgcov` yet I get undefined references to `___gcov_init' and `___gcov_merge_add'. I see that somebody else on the mailing lists had trouble doing this a while back but he was never answered. Gcov works fine when not making a DLL though using `-mno-cygwin` produces a version mismatch. Thanks for your help! -Jevin Sweval **************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. **************************************************************************************** -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |