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> |
---|
11 | You can use the available pre-built binaries or build Hoard |
---|
12 | yourself. Hoard is written to work on Windows and any variant of UNIX |
---|
13 | that supports threads, and should compile out of the box. Rather than |
---|
14 | using Makefiles or configure scripts, Hoard includes custom scripts |
---|
15 | that all start with the prefix compile. |
---|
16 | </p> |
---|
17 | |
---|
18 | <section> |
---|
19 | <title>Linux and Solaris Builds</title> |
---|
20 | <p> |
---|
21 | You can compile Hoard out of the box for Linux and Solaris using the |
---|
22 | GNU compilers (g++) just by running the compile |
---|
23 | script: |
---|
24 | </p> |
---|
25 | |
---|
26 | <source> |
---|
27 | ./compile |
---|
28 | </source> |
---|
29 | |
---|
30 | </section> |
---|
31 | |
---|
32 | <section> |
---|
33 | <title>Windows Builds</title> |
---|
34 | <p> |
---|
35 | There are two alternative ways of using Hoard with Windows. |
---|
36 | </p> |
---|
37 | |
---|
38 | <ol> |
---|
39 | <li> |
---|
40 | <p> |
---|
41 | The first approach builds a DLL, libhoard.dll and |
---|
42 | its associated library libhoard.lib. |
---|
43 | </p> |
---|
44 | |
---|
45 | <source> |
---|
46 | .\compile-dll |
---|
47 | </source> |
---|
48 | </li> |
---|
49 | |
---|
50 | <li> |
---|
51 | <p> |
---|
52 | The second and preferred approach generates winhoard, which replaces |
---|
53 | malloc/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.