| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| Message-ID: | <afe5197f05052018177e740e58@mail.gmail.com> |
| Date: | Sat, 21 May 2005 02:17:16 +0100 |
| From: | Richard Copley <rcopley AT gmail DOT com> |
| Reply-To: | Richard Copley <rcopley AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | arc profiling: output fails with -mno-cygwin |
| Mime-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j4L1HN5g028113 |
My executables compiled with -fprofile-arcs and -mno-cygwin fail to
output the profiling information. I include, below, a sample session
illustrating my program. The first "a.exe" creates "main.da" okay. The
second doesn't. Can you help?
Regards,
Richard Copley.
Owner AT machine ~/projects/cxx/testcase
$ cat > main.cpp <<EOF
> #include <iostream>
> int main ()
> {
> std::cout << "Hello, World!\n";
> }
> EOF
Owner AT machine ~/projects/cxx/testcase
$ g++ -fprofile-arcs main.cpp && ./a
Hello, World!
Owner AT machine ~/projects/cxx/testcase
$ g++ -fprofile-arcs -mno-cygwin main.cpp && ./a ## Here's the problem.
Hello, World!
arc profiling: Can't open output file /home/Owner/projects/cxx/testcase/main.da.
Owner AT machine ~/projects/cxx/testcase
$ cygcheck -s -v -r > cygcheck.out ## See attachment.
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1005
--
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 |