mingw-runtime 4.01: empty libgmon.a
Yaakov Selkowitz
yselkowitz@cygwin.com
Fri Feb 27 08:57:00 GMT 2015
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
More information about the Cygwin
mailing list