This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mingw-runtime 4.01: empty libgmon.a
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Feb 2015 00:17:29 -0600
- Subject: Re: mingw-runtime 4.01: empty libgmon.a
- Authentication-results: sourceware.org; auth=none
- References: <54ECEE37 dot 80603 at quicknet dot nl>
On Tue, 2015-02-24 at 22:33 +0100, Teun Burgers wrote:
> the libgmon.a is an empty archive. These are the contents of
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libgmon.a
>
> This becomes a problem when attempting to prepare an executable for profiling with gprof
>
> /bin/i686-pc-mingw32-gcc.exe -pg -o hello hello.c
>
> I replaced libgmon.a with this one:
>
> https://github.com/jonasstrandstedt/MinGW/blob/master/MinGW/lib/libgmon.a
>
> and then the profiling for i686-pc-mingw32 works fine.
>
> Maybe a next release of mingw-runtime can include a functional libgmon.a ?
There probably won't be another release of mingw-runtime, or the rest of
the mingw.org toolchain, as the previous maintainer has gone missing. I
suggest you use the {i686,x86_64}-w64-mingw32 targets instead from the
mingw64-* toolchains.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple