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.

[EMAIL PROTECTED] ~/projects/cxx/testcase
$ cat > main.cpp <<EOF
> #include <iostream>
> int main ()
> {
>   std::cout << "Hello, World!\n";
> }
> EOF

[EMAIL PROTECTED] ~/projects/cxx/testcase
$ g++ -fprofile-arcs main.cpp && ./a
Hello, World!

[EMAIL PROTECTED] ~/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.

[EMAIL PROTECTED] ~/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/

Reply via email to