This is the mail archive of the
cygwin
mailing list for the Cygwin project.
arc profiling: output fails with -mno-cygwin
- From: Richard Copley <rcopley at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 May 2005 02:17:16 +0100
- Subject: arc profiling: output fails with -mno-cygwin
- Reply-to: Richard Copley <rcopley at gmail dot com>
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@machine ~/projects/cxx/testcase
$ cat > main.cpp <<EOF
> #include <iostream>
> int main ()
> {
> std::cout << "Hello, World!\n";
> }
> EOF
Owner@machine ~/projects/cxx/testcase
$ g++ -fprofile-arcs main.cpp && ./a
Hello, World!
Owner@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@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/