forked from hercules-390/html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hercinst.html
462 lines (427 loc) · 16.4 KB
/
hercinst.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
<HTML>
<head>
<title>Hercules Version 4: Installation and Operation</title>
<link rel="stylesheet" type="text/css" href="hercules2.css">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="icon" href="images/favicon.ico" />
<style>
table {
border: 2px solid black;
border-collapse:collapse;
}
th {
border: 1px solid black;
vertical-align:bottom;
text-align:left;
padding:10px 5px 5px 5px;
}
td {
border: 1px solid black;
vertical-align: top;
text-align:left;
padding:5px 5px 10px 5px;
}
li.spaced:not(:last-child) {
margin-bottom: 5px;
}
</style>
</head>
<body>
<div id="header">
<table class="hdr">
<tr>
<td rowspan="2" class="hdrlogo">
<a href="index.html"><img src="images/hercpic-rblk-256.gif" alt="logo" class="hdrlogo" /></a>
</td>
<td class="hdr">
<h1 class="hdr">Hercules Version 4: Installation and Operation</h1>
</td>
</tr>
<tr>
<td class="hdr">
<h2 class="hdr">Installation Using Legacy Tools</h2>
</td>
</tr>
</table>
<hr />
</div>
<div id="content">
<h3>Contents</h3>
<blockquote>
<p>
<a href="#install">Installation Procedure Using Legacy Tools</a>
<ul>
<li><a href="#buildunix">Building for UNIX-like Systems</a></li>
<li><a href="#buildwin">Building for Windows Systems</a>
<ul>
<li><a href="#instbinaries">Installing Windows Pre-Built Binaries</a>
</ul>
<li><a href="#buildmacos">Building for macOS Systems</a>
</ul>
</p>
<p>
<a href="#support">Technical Support</a>
</p>
</blockquote>
<hr />
<h3 class="skiplogo" id="install">Installation Procedure Using Legacy Tools</h3>
<p>
These procedures using legacy tools (GNU Autotools or makefile.bat/NMake)
are provided in the event you experience difficulties when
building with CMake.
If you have not tried building Hercules using CMake,
please do so.
If you experienced difficulties using CMake to build Hercules,
<em>please</em> <a href="https://github.com/hercules-390/hyperion/issues" target="_blank">
create a github issue</a>.
</p>
<p>
Rasbperry Pi and other ARM system users should use CMake to build and install Hercules
and follow the instructions for UNIX-like.
Hercules does not support the use of
GNU Autotools to build for the Raspberry Pi
and similar ARM-based systems on a board.
</p>
<br /><hr />
<h4 class="skiplogo" id="buildunix">Building for UNIX-like Systems</h4>
<p>
Hercules is normally built for UNIX-like systems using
"<a href="CMake/index.html">Building Hercules for UNIX-like Systems</a>".
If you have not used CMake to build Hercules,
please do before using this legacy process.
</p>
<p>
Additional information about building using legacy tools can be found
in the Hercules sources at
<a href="https://github.com/hercules-390/hyperion/blob/master/BUILDING.txt" target="_blank">
BUILDING.txt</a>,
and
<a href="https://github.com/hercules-390/hyperion/blob/master/README.BuildUNIX.txt" target="_blank">
README.BuildUNIX.txt</a>.
</p>
<ol>
<li class="spaced">
Download the
<a href="https://github.com/hercules-390/hyperion/archive/master.zip">source code .ZIP file</a>
from Github.
<p>
<em>Note:</em> By downloading this file you agree to the terms
of the <a href="herclic.html">Q Public Licence</a>.
</p>
<li class="spaced">
Use these commands to unzip the distribution file:
<ol style="list-style-type:none">
<li><code>unzip hyperion-master.zip</code></li>
<li><code>cd hyperion-master</code></li>
</ol>
</li>
<li class="spaced">
Verify you have all of the correct versions of all of the
required packages installed:
<ol style="list-style-type:none">
<li><code>./util/bldlvlck</code></li>
</ol>
</li>
<li class="spaced">
Build the ./configure script (required):
<ol style="list-style-type:none">
<li><code>sh ./autogen.sh</code></li>
</ol>
<p>
Most projects that are built from source do so from the official
distribution tarball which comes with its own pre-built ./configure
scipt.
When you are building Hercules directly from the repository source
code however, you will need to create (or recreate) it yourself.
</p>
<p>
Also note you will need to re-run <code>autogen.sh</code>
each time the "configure.ac" or "makefile.am" files change. This
means if you do a "git pull" to update your source with changes
that were recently made to the repository, you <i>may</i> need
to recreate your configure script again if either configure.ac
<i>or</i> makefile.am was updated.
</p>
<p>
Thus the safest course of action is to <i>always</i> run autogen.sh
immediately before running ./configure. (see next step below)
</p>
</li>
<li class="spaced">
Configure Hercules for your system
<ol style="list-style-type:none">
<li><code>./configure</code></li>
</ol>
<p>
By default, the configure script will attempt to guess appropriate
compiler optimization flags for your system. If its guesses
turn out to be wrong, you can disable all optimization by
passing the <code><nobr>--disable-optimization</nobr></code> option to
configure, or specify your own optimization flags with
<code><nobr>--enable-optimization=FLAGS</nobr></code>. For additional configuration
options, run: <code>./configure <nobr>--help=short</nobr></code>.
</p>
</li>
<li class="spaced">
Build the executables:
<ol style="list-style-type:none">
<li><code>make</code></li>
</ol>
<p>
<code>make</code>
</p>
</li>
<li class="spaced">(
Optional) Install the programs: as root:
<p>
<code>make install</code>
</p>
</li>
</ol>
<em>Important:</em>
You must use at least version 3.00 of the gcc compiler and the glibc2 library.
Refer to the <a href="hercfaq.html#3.04">
Hercules Frequently-Asked Questions</a> page for required
compiler and other software levels.<br /><br />
<br /><hr />
<h4 class="skiplogo" id="buildwin">Building for Windows Systems</h4>
<p>
Hercules is normally built for Windows systems using
"<a href="CMake/indexwin.html">Building Hercules for Windows Systems</a>".
If you have not used CMake to build Hercules,
please do before using this legacy process.
</p>
<p>
Additional information about building for Windows using legacy tools can be found
in the Hercules sources at
<a href="https://github.com/hercules-390/hyperion/blob/master/BUILDING.txt" target="_blank">
BUILDING.txt</a>,
<a href="https://github.com/hercules-390/hyperion/blob/master/README.BuildWIN.txt" target="_blank">
README.BuildWIN.txt</a>,
and
<a href="https://github.com/hercules-390/hyperion/blob/master/README.BuildWINSupp.txt" target="_blank">
README.BuildWINSupp.txt</a>.
</p>
<ol>
<li class="spaced">
Open a Visual Studio <arch> Native Tools Command Prompt.
Replace <arch> with x86 for 32-bit systems
and x64 for 64-bit systems.
</li>
<li class="spaced">
Navigate to the directory that will become the parent of the
Hercules source and build directory.
In the remaining instructions,
that parent directory is referred to as <top_dir>.
</li>
<li class="spaced">
Download the
<a href="https://github.com/hercules-390/hyperion/archive/master.zip">source code .ZIP file</a>
from Github.
<p>
<em>Note:</em> By downloading this file you agree to the terms
of the <a href="herclic.html">Q Public Licence</a>.
</p>
</li>
<li class="spaced">
Use these commands to unzip the distribution file:
<ul style="list-style-type:none">
<li><code>unzip hyperion-master.zip</code></li>
<li><code>cd hyperion-master</code></li>
</ul>
</li>
<li class="spaced">
Download and install the Windows Support files for Hercules.
Theses files include BZip2 and Zlib,
which are compression utilities,
and PCRE, a regular expression library needed for Windows.
Use <code><top_dir>\winbuild</code> as the
installation directory.
<ul style="list-style-type: none;">
<li>
<code>
<a href="https://github.com/hercules-390/hyperion/releases/download/4.0.0-rc0/WinSup4H.exe">
https://github.com/hercules-390/hyperion/releases/download/4.0.0-rc0/WinSup4H.exe</a>
</code>
</li>
</ul>
</li>
<li class="spaced">
Use the following command to build SoftFloat-3a For Hercules,
a package required by Hercules,
and Hercules.
If you opened an x86 Visual Studio command prompt,
you will get a 32-bit Hercules.
Likewise, a 64-bit Hercules will be built
when an x64 command prompt is used.
<ul style="list-style-type:none;">
<li><code>cd <top_dir>\hyperion-master</code></li>
<li><code>1Stop [Hercules configure options, if any]</code></li>
</ul>
</li>
<li class="spaced">
Hercules will be built in either of the following directories:
<ul style="list-style-type:none;">
<li>32-bit build: <code><top_dir>\hyperion-master\dllmod.bin</code></li>
<li>64-bit build: <code><top_dir>\hyperion-master\amd64.bin</code></li>
</ul>
</li>
<li class="spaced">
You must manually copy the contents of the build directory to your desired
installation directory.
</li>
</ol>
<h4 class="skiplogo" id="instbinaries">Installing Windows Pre-Built Binaries</h4>
<p>
Hercules Version 4.0 (Hyperion) is in development;
installation from source is the best method to
ensure you have an up-to-date copy.
</p>
<ul>
<li class="spaced">
<a href="https://github.com/hercules-390/hyperion/releases/latest" target="_blank">Hyperion 4.0.0-rc0</a>.
is the current release candidate. It includes zip'd Windows binaries
and sources to build and install on open-source operating systems.
</li>
<li class="spaced">
Windows Binaries installation instructions:
<ol>
<li>
Install the binaries from the zip archive to the directory of your choice
</li>
<li>
Change the Windows Path statement to include that directory.
</li>
<li>
If you need a Microsoft Visual C++ Runtime library, see
<a href="http://support.microsoft.com/kb/2019667" target="_blank">
"The latest supported Visual C++ downloads"</a>.
</li>
</ol>
</li>
<li>
Installable binaries are not yet available for UNIX-like systems.
We hope to make them available for selected systems in the future.
</li>
</ul>
<br /><hr />
<h4 class="skiplogo" id="buildmacos">Building for macOS Systems</h4>
<ol>
<li class="spaced">
Install <b>Xcode</b> from the
<a href="http://itunes.apple.com/app/xcode/id497799835">
Mac App Store</a>.
</li>
<li class="spaced">
Install <b>Homebrew</b> using the procedure described
at <a href="http://brew.sh/">http://brew.sh/</a>
</li>
<li class="spaced">
Use these commands to install pre-requisite software:
<ol style="list-style-type:lower-alpha">
<li><code>brew install autoconf</code></li>
<li><code>brew install automake</code></li>
<li><code>brew install gnu-sed</code></li>
<li><code>automake --add-missing</code></li>
</ol>
</li>
<li class="spaced">
Download the
<a href="https://github.com/hercules-390/hyperion/archive/master.zip">source code .ZIP file</a>
from Github.
<p>
<em>Note:</em> By downloading this file you agree to the terms
of the <a href="herclic.html">Q Public Licence</a>.
</p>
<li class="spaced">
Use these commands to unzip the distribution file:
<ol style="list-style-type:none">
<li><code>unzip hyperion-master.zip</code></li>
<li><code>cd hyperion-master</code></li>
</ol>
</li>
<li class="spaced">
Verify you have all of the correct versions of all of the
required packages installed:
<ol style="list-style-type:none">
<li><code>./util/bldlvlck</code></li>
</ol>
</li>
<li class="spaced">
Build the ./configure script (required):
<ol style="list-style-type:none">
<li><code>sh ./autogen.sh</code></li>
</ol>
<p>
Most projects that are built from source do so from the official
distribution tarball which comes with its own pre-built ./configure
scipt.
When you are building Hercules directly from the repository source
code however, you will need to create (or recreate) it yourself.
</p>
<p>
Also note you will need to re-run <code>autogen.sh</code>
each time the "configure.ac" or "makefile.am" files change. This
means if you do a "git pull" to update your source with changes
that were recently made to the repository, you <i>may</i> need
to recreate your configure script again if either configure.ac
<i>or</i> makefile.am was updated.
</p>
<p>
Thus the safest course of action is to <i>always</i> run autogen.sh
immediately before running ./configure. (see next step below)
</p>
</li>
<li class="spaced">
Configure Hercules for your system
<ol style="list-style-type:none">
<li><code>./configure</code></li>
</ol>
<p>
By default, the configure script will attempt to guess appropriate
compiler optimization flags for your system. If its guesses
turn out to be wrong, you can disable all optimization by
passing the <code><nobr>--disable-optimization</nobr></code> option to
configure, or specify your own optimization flags with
<code><nobr>--enable-optimization=FLAGS</nobr></code>. For additional configuration
options, run: <code>./configure <nobr>--help=short</nobr></code>.
</p>
</li>
<li class="spaced">
Build the executables:
<ol style="list-style-type:none">
<li><code>make</code></li>
</ol>
<p>
<code>make</code>
</p>
</li>
<li class="spaced">(
Optional) Install the programs: as root:
<p>
<code>make install</code>
</p>
</li>
</ol>
<em>Important:</em>
You must use at least version 3.00 of the gcc compiler and the glibc2 library.
Refer to the <a href="hercfaq.html#3.04">
Hercules Frequently-Asked Questions</a> page for required
compiler and other software levels.<br /><br />
<p>
<br /><hr />
<h3 class="skiplogo" id="support">Technical Support</h3>
<P>
For technical support, please see our <a href="hercsupp.html">Technical Support</a> web page.
<br /><br />
<hr>
<br />
<center>
<a href="index.html"><img src="images/back.gif" border=0 alt="back"></a>
</center>
<br />
</center>
</div>
</body>
</HTML>