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