implemented Setup.hs to build boehm cpp libs and install them;
[hs-boehmgc.git] / gc-7.2 / doc / README.win64
1 64-bit Windows on AMD64/Intel EM64T is somewhat supported in the 7.0
2 and later release.  A collector can be built with Microsoft Visual C++ 2005
3 or with mingw-w64 gcc.
4 More testing would clearly be helpful.
5
6 NT_X64_STATIC_THREADS_MAKEFILE has been used in
7 this environment.  Copy this file to MAKEFILE, and then type "nmake"
8 in a Visual C++ command line window to build the static library
9 and the usual test programs.  To verify that the collector is
10 at least somewhat functional, run gctest.exe.  This should create
11 gctest.gc.log after a few seconds.
12
13 This process is completely analogous to NT_STATIC_THREADS_MAKEFILE
14 for the 32-bit version.
15
16 A similar procedure using NT_X64_THREADS_MAKEFILE should be usable to
17 build the dynamic library.  Test_cpp.exe did not seem to run correctly this
18 way.  It seems that we're getting the wrong instances of operator new/delete
19 in some cases.  The C tests seemed OK.
20
21 Note that currently a few warnings are still generated by default,
22 and a number of others have been explicitly turned off in the makefile.
23
24 VC++ note: to suppress warnings use -D_CRT_SECURE_NO_DEPRECATE.
25
26 gcc note: -fno-strict-aliasing should be used if optimizing.