source: proiecte/swift/trunk/lib/hoard-371/doc/building.html @ 176

Last change on this file since 176 was 176, checked in by (none), 14 years ago
  • imported repo from "guagal"
File size: 5.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<meta content="Apache Forrest" name="Generator">
6<meta name="Forrest-version" content="0.6">
7<meta name="Forrest-skin-name" content="pelt">
8<title>Building Hoard</title>
9<link type="text/css" href="skin/basic.css" rel="stylesheet">
10<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
11<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
12<link type="text/css" href="skin/profile.css" rel="stylesheet">
13<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
14<link rel="shortcut icon" href="">
15</head>
16<body onload="init()">
17<script type="text/javascript">ndeSetTextSize();</script>
18<div id="top">
19<!--+
20    |header
21    +-->
22<div class="header">
23<!--+
24    |start group logo
25    +-->
26<div class="grouplogo">
27<a href="http://www.hoard.org"><img class="logoImage" alt="Hoard" src="images/hoard-logo.jpg" title="The Hoard Multiprocessor Memory Allocator"></a>
28</div>
29<!--+
30    |end group logo
31    +-->
32<!--+
33    |start Project Logo
34    +-->
35<div class="projectlogoA1">
36<a href=""></a>
37</div>
38<!--+
39    |end Project Logo
40    +-->
41<!--+
42    |start Tabs
43    +-->
44<ul id="tabs"></ul>
45<!--+
46    |end Tabs
47    +-->
48</div>
49</div>
50<div id="main">
51<div id="publishedStrip">
52<!--+
53    |start Subtabs
54    +-->
55<div id="level2tabs"></div>
56<!--+
57    |end Endtabs
58    +-->
59<script type="text/javascript" language="JavaScript"><!--
60              document.write("Published: " + document.lastModified);
61              //  --></script>
62</div>
63<!--+
64    |breadtrail
65    +-->
66<div class="breadtrail">
67             
68             &nbsp;
69           </div>
70<!--+
71    |start Menu, mainarea
72    +-->
73<!--+
74    |start Menu
75    +-->
76<div id="menu">
77<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Table of Contents</div>
78<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
79<div class="menuitem">
80<a title="Welcome to Hoard" href="index.html">Home</a>
81</div>
82<div class="menuitem">
83<a title="Download Hoard" href="download.html">Download</a>
84</div>
85<div class="menuitem">
86<a title="Screenshots" href="screenshot.html">Screenshots</a>
87</div>
88<div class="menuitem">
89<a title="How to Use Hoard" href="using.html">Using Hoard</a>
90</div>
91<div class="menupage">
92<div class="menupagetitle">Building Hoard</div>
93</div>
94<div class="menuitem">
95<a title="FAQs" href="faqs.html">FAQs</a>
96</div>
97<div class="menuitem">
98<a title="License Info" href="licensing.html">Licensing Info</a>
99</div>
100</div>
101<div id="credit"></div>
102<div id="roundbottom">
103<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
104<!--+
105  |alternative credits
106  +-->
107</div>
108<!--+
109    |end Menu
110    +-->
111<!--+
112    |start content
113    +-->
114<div id="content">
115<div id="skinconf-txtlink"></div>
116<h1>Building Hoard</h1>
117<div id="minitoc-area">
118<ul class="minitoc">
119<li>
120<a href="#Linux+and+Solaris+Builds">Linux and Solaris Builds</a>
121</li>
122<li>
123<a href="#Windows+Builds">Windows Builds</a>
124</li>
125</ul>
126</div>
127
128
129<p>
130You can use the available pre-built binaries or build Hoard
131yourself. Hoard is written to work on Windows and any variant of UNIX
132that supports threads, and should compile out of the box. Rather than
133using Makefiles or configure scripts, Hoard includes custom scripts
134that all start with the prefix compile.
135</p>
136
137 
138<a name="N1000F"></a><a name="Linux+and+Solaris+Builds"></a>
139<h2 class="boxed">Linux and Solaris Builds</h2>
140<div class="section">
141<p>
142You can compile Hoard out of the box for Linux and Solaris using the
143GNU compilers (g++) just by running the compile
144script:
145</p>
146<pre class="code">
147./compile
148</pre>
149</div>
150
151 
152<a name="N1001D"></a><a name="Windows+Builds"></a>
153<h2 class="boxed">Windows Builds</h2>
154<div class="section">
155<p>
156There are two alternative ways of using Hoard with Windows.
157</p>
158<ol>
159
160<li>
161
162<p>
163The first approach builds a DLL, libhoard.dll and
164its associated library libhoard.lib.
165</p>
166
167
168<pre class="code">
169.\compile-dll
170</pre>
171
172</li>
173
174
175<li>
176
177<p>
178The second and preferred approach generates winhoard, which replaces
179malloc/new calls in your program and any DLLs it might use.
180  </p>
181
182
183<pre class="code">
184.\compile-winhoard
185</pre>
186 
187</li>
188 
189</ol>
190</div>
191
192
193</div>
194<!--+
195    |end content
196    +-->
197<div class="clearboth">&nbsp;</div>
198</div>
199<div id="footer">
200<!--+
201    |start bottomstrip
202    +-->
203<div class="lastmodified">
204<script type="text/javascript"><!--
205document.write("Last Published: " + document.lastModified);
206//  --></script>
207</div>
208<div class="copyright">
209 Copyright &copy; 2005 Emery Berger.</div>
210<div id="feedback">
211    Send feedback about the website to:
212  <a id="feedbackto" href="mailto:emery@cs.umass.edu?subject=Feedback,building.html">emery@cs.umass.edu</a>
213</div>
214<!--+
215    |end bottomstrip
216    +-->
217</div>
218</body>
219</html>
Note: See TracBrowser for help on using the repository browser.