source: proiecte/swift/trunk/lib/hoard-371/doc/src/documentation/content/xdocs/building.xml @ 176

Last change on this file since 176 was 176, checked in by (none), 14 years ago
  • imported repo from "guagal"
File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
3<document> 
4  <header> 
5    <title>Building Hoard</title> 
6  </header>
7
8<body>
9
10<p>
11You can use the available pre-built binaries or build Hoard
12yourself. Hoard is written to work on Windows and any variant of UNIX
13that supports threads, and should compile out of the box. Rather than
14using Makefiles or configure scripts, Hoard includes custom scripts
15that all start with the prefix compile.
16</p>
17
18  <section>
19    <title>Linux and Solaris Builds</title>
20<p>
21You can compile Hoard out of the box for Linux and Solaris using the
22GNU compilers (g++) just by running the compile
23script:
24</p>
25 
26<source>
27./compile
28</source>
29
30  </section>
31
32  <section>
33  <title>Windows Builds</title>
34  <p>
35There are two alternative ways of using Hoard with Windows.
36</p>
37
38<ol>
39<li>
40<p>
41The first approach builds a DLL, libhoard.dll and
42its associated library libhoard.lib.
43</p>
44
45<source>
46.\compile-dll
47</source>
48</li>
49
50<li>
51<p>
52The second and preferred approach generates winhoard, which replaces
53malloc/new calls in your program and any DLLs it might use.
54  </p>
55
56<source>
57.\compile-winhoard
58</source>
59  </li>
60  </ol>
61
62  </section>
63
64</body>
65
66</document>
Note: See TracBrowser for help on using the repository browser.