server-skynet-source-3rd-je.../msvc
Ryan Libby 048c6679cd Remove external linkage for spin_adaptive
The external linkage for spin_adaptive was not used, and the inline
declaration of spin_adaptive that was used caused a probem on FreeBSD
where CPU_SPINWAIT is implemented as a call to a static procedure for
x86 architectures.
2017-08-08 10:30:21 -07:00
..
projects/vc2015 Remove external linkage for spin_adaptive 2017-08-08 10:30:21 -07:00
jemalloc_vc2015.sln Add MS Visual Studio 2015 support 2016-02-20 10:55:23 -08:00
ReadMe.txt Only use --whole-archive with gcc. 2016-10-28 00:47:53 -07:00

How to build jemalloc for Windows
=================================

1. Install Cygwin with at least the following packages:
   * autoconf
   * autogen
   * gawk
   * grep
   * sed

2. Install Visual Studio 2015 with Visual C++

3. Add Cygwin\bin to the PATH environment variable

4. Open "VS2015 x86 Native Tools Command Prompt"
   (note: x86/x64 doesn't matter at this point)

5. Generate header files:
   sh -c "CC=cl ./autogen.sh"

6. Now the project can be opened and built in Visual Studio:
   msvc\jemalloc_vc2015.sln