how to compile using Visual Studio?

Tommy Reilly gnurizen at gmail.com
Wed Oct 31 12:36:34 PDT 2012


I battled with this recently, this recipe seemed to work:

start cmd with vs10 shortcut
set PATH=%PATH%;C:\cygwin\bin
set SHELLOPTS=igncr
bash
echo $SHELLOPTS # check for igncr
cd jemalloc
CPPFLAGS=-Iinclude/msvc_compat ./configure

I had to hack the configure script to treat cygwin and mingw the same,
you'd probably have better luck with mingw.   Preparing a patch is on
my TODO list, hope this helps.



More information about the jemalloc-discuss mailing list