blob: 1e44cc45ca679e9d786bb8a1a77e89c8d8043e84 (
plain)
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
|
Requirements
* an ANSI C99 compiler like gcc, Intel icc, Sun Forte, tcc, pcc or
clang
* gengetopt for the test daemon binary 'testd' (see
http://www.gnu.org/software/gengetopt/gengetopt.html)
* doxygen for generating documentation (optionally graphviz for
nice graphs, but this also takes in half of X11 so you may
don't want that)
* tcc needs a makedepend, preferebly one without X11 stuff in it
(see for instance http://aur.archlinux.org/packages.php?ID=39188)
Installation:
* Determine which is the favourite make ('make', 'gmake', 'nmake')
of your platform
* The Make chooses the right makefile for you (e. g. GNUmakefile
for GNU make)
* call '<your make> all'
* call '<your make> install'
Configuring the build process:
Several makefile variable can be used to turn on or off certain
features which may not be available on all platforms:
ENABLE_NLS=0 disables natural language support using libintl/gettext
(default is enabled)
ENABLE_THREADS=0 disables usage of POSIX threads
(default is enabled)
Extending the build process:
* Check out the file 'makefiles/gmake/compiler.mk' for compiler settings,
choose them at will
* On Windows check out 'makefile/nmake/config.mk' and adapt the paths
New unsupported platforms, architectures, compilers
* Check out 'makefiles/gmake/guess_env' and add code to detect your new
environment
* Check out 'include/wolf/port/sys.h' and 'src/port/sys_internal.h' and set
the proper macros fitting to your new environment
* You may have to extend existing modules (e. g. HP Unix loader in
'src/library/loader.c')
|