jimmie316 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Should heap profiling with mingw work? #684

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to cross-build gperftools heap profiler support for 32-bit Windows, 
from a Linux machine (Debian Jessie amd64).

gperftools configures and builds fine, but the only DLL built is 
tcmalloc_minimal.dll.

Is that right? The README and INSTALL files suggest that the heap profiler 
should work (at least in debug mode) with Windows and mingw, or is that only 
when compiling with Visual Studio?

configure line was:

./configure --host=i686-w64-mingw32

and to be extra sure:

./configure --enable-shared --host=i686-w64-mingw32 --enable-heap-profiler

Tried under current git HEAD, and the 2.4 release. config.log output from 2.4 
is attached.

Thanks in advance for any pointers you can give me.

Angus

Original issue reported on code.google.com by g...@projectgus.com on 28 Apr 2015 at 5:19

Attachments:

GoogleCodeExporter commented 9 years ago
Mingw and Visual Studio are not supported currently for anything but 
tcmalloc_minimal.

Original comment by alkondratenko on 3 May 2015 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by alkondratenko on 3 May 2015 at 9:12

GoogleCodeExporter commented 9 years ago
Thanks for clarifying this. I've attached a patch for the INSTALL and 
README_windows.txt files that make this clearer for new readers.

(Patch assumes Cygwin support is the same situation as Mingw/Visual Studio. Let 
me know if I should change that.)

Original comment by g...@projectgus.com on 3 May 2015 at 10:24

Attachments:

GoogleCodeExporter commented 9 years ago
Applied. Thanks.

Original comment by alkondratenko on 9 May 2015 at 7:06