source: proiecte/swift/trunk/lib/hoard-371/src/NOTES.Windows @ 176

Last change on this file since 176 was 176, checked in by (none), 14 years ago
  • imported repo from "guagal"
File size: 854 bytes
Line 
1There are two options for using Hoard with Windows,
2in decreasing order of preference:
3
4        (1) Use winhoard.dll
5            (when you have all object files)
6
7        - Execute 'compile-winhoard.cmd'.
8        - Link your executable with 'usewinhoard.cpp' and 'winhoard.lib'.
9          You must use the /MD flag.
10
11        (2) Use libhoard.dll
12            (when you have all sources)
13
14        - Execute the 'compile-dll.cmd' script.
15        - Link your executable with 'libhoard.lib'.
16        You must use the /MD flag.
17
18        - You may need to add the link command:
19        "/FORCE:MULTIPLE". This option forces a link even
20        when multiply defined symbols exist, which you'll need.
21
22        - Make sure that you dynamically link the executable (i.e., don't
23        generate a Multithreaded version, but rather Multithreaded DLL),
24        as in /MD. This linkage will ensure that you completely
25        replace every memory allocation call.
26
Note: See TracBrowser for help on using the repository browser.