Hello, I've built my own gcc toolchain (4.6.1) targeting i686-w64-mingw32 and so far everything worked fine until I decided to use the profile functionality.
When compiling with -p -pg, linker reports undefined references to _monstartup. I looked in ming64 CRT and found out that _monstartup is defined in gcrt0.c but never gets included in libgmon.a, as defined in Makefile.am. But for some reason gcc is eagerly looking for it. Is this a misunderstanding between gcc and mingw64 or something else? BTW I'm using mingw64 svn4105. best regards, Alen ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public