1HERCULES FOR WIN64 README FILE 2 3There are two 64-bit architectures supported by 64-bit Windows: 4- x64 also known as x86_64 (for AMD64 and Intel EM64T processors) 5- ia64 (for Intel Itanium processors) 6 7This document covers only the x64 architecture. 8 9HOW TO COMPILE HERCULES FOR AMD64 10 111. Install Visual C++ 2010 Express from the Visual Studio 2010 Express page: 12 http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express 13 142. Install Microsoft Windows SDK 7.1 from: 15 http://www.microsoft.com/en-us/download/details.aspx?id=8279 16 IMPORTANT: select all components *except* the Visual C++ Compilers 17 183. Install Visual Studio 2010 Service Pack 1 (VS10sp1-KB983509) from: 19 http://www.microsoft.com/en-us/download/details.aspx?id=23691 20 214. Install Visual C++ 2010 Service Pack 1 Compiler Update 22 for the Windows SDK 7.1 (VC-Compiler-KB2519277) from: 23 http://www.microsoft.com/en-us/download/details.aspx?id=4422 24 255. Go to the start menu and choose "All Programs" 26 - "Microsoft Windows SDK v7.1" - "Microsoft Windows SDK 7.1 Command Prompt" 27 286. Change to the directory where you unpacked the Hercules source 29 307. If you require gzip or bzip2 for disk or tape compression, or if you 31 require PCRE for the Hercules Automatic Operator facility, you should 32 install the AMD64 versions of these programs in winbuild\zlib\x64 33 winbuild\bzip2\x64 and winbuild\pcre\x64 under the Hercules directory. 34 You may override these default directory locations by setting 35 environment variables, for example: 36 SET ZLIB_DIR=c:\packages\zlib 37 SET BZIP2_DIR=c:\packages\bzip2 38 SET PCRE_DIR=c:\packages\pcre 39 408. copy makefile.msvc makefile 41 429. nmake clean 43 nmake 44 4510. The binaries will be installed into subfolder "msvc.AMD64.bin" 46 If you compiled on a 32-bit Windows system, copy this folder 47 to your target 64-bit Windows machine. 48 4911. If you copy the binaries to a machine which does not have Visual 50 Studio 2010 (VS10) installed, then you must also install the 51 Microsoft Visual C++ 2010 Redistributable Package (x64) 52 on the target machine. This package can be downloaded from 53 http://www.microsoft.com/en-us/download/details.aspx?id=14632 54 55