Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Date: Sat, 21 May 2005 02:17:16 +0100 From: Richard Copley Reply-To: Richard Copley To: cygwin AT cygwin DOT com Subject: arc profiling: output fails with -mno-cygwin Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 < #include > 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/