Check for success of hard links of bin files. If they fail, try sym
[mmh] / MACHINES
1 #
2 # MACHINE -- operating system specific information
3 #
4
5 nmh is known to compile on the following platforms (save the
6 exceptions noted below), using an ANSI C compiler, such as gcc.
7
8 AIX 4.1.5.0.01
9 Cygwin (setup version 2.763, other versions may be fine)
10 FreeBSD
11 IRIX 6.5
12 Linux 2.2 to current (glibc 2.1 to current)
13 Mac OS X
14 NetBSD 1.4.2
15 OpenBSD
16 Solaris 7 and 8 (sparc,x86)
17 SunOS 4.1
18
19 Known Compilation problems:
20 --------------------------------------
21 Cygwin:
22
23 Be sure to install these Cygwin packages:
24   gdbm
25   libgdbm4
26   libgdbm-devel
27   libncurses10
28   libncurses-devel
29
30 --------------------------------------
31 HPUX:
32
33 Lots of problems have been reported with using HPUX `cc'.  In particular,
34 problems with `scan' giving incorrect dates (everything is 01/00).
35 It is highly recommended that you use `gcc' instead.
36
37 Also, new versions of HPUX (10.20?) will core dump in `scan' because
38 of some workaround code in zotnet/tws/lexstring.c.  This workaround is
39 needed for older versions of HPUX, but causes problems on newer versions.
40 The solution is the added line (minus our indentation):
41
42     #undef hpux
43
44 after line 15 of the file zotnet/tws/lexstring.c.
45
46 --------------------------------------
47 Irix (SGI):
48
49 Irix make is notoriously buggy. If you're using it, you should "touch
50 config.h.in" before configuring to prevent a problem where it tries to
51 rebuild targets that shouldn't be rebuilt. (Alternately, you can just
52 use GNU make instead of Irix make.)
53
54 --------------------------------------
55 Linux:
56
57 The configuration script does a test to discover if your vi is broken
58 (if it reports non-zero exit codes on certain pseudo-errors).  This test
59 will hang if the program `ex' on your system is a link to the vi clone
60 `vile'.  The workaround is to replace the command ex as a link to another
61 vi clone such as nvi or elvis.
62
63 --------------------------------------
64 Solaris:
65
66 With --enable-debug you'll see a lot of warnings. This is even worse
67 when compiling using the Sun Workshop compiler since it issues a
68 warning for every instance of a problem instead of summarizing them.
69 The main one concerns arrays with an index of type char. This is ok.
70 The array itself is a hash of chars, so the array size and the type
71 match. There isn't another safe and portable way to do this at the
72 moment. An explicit cast would get rid of the warnings, but I think
73 it's better to leave it complaining for now until we come up with
74 a better solution. The whole thing is probablly going to be chucked
75 with UTF-8 support anyway.
76
77 Other than the warnings, it builds ok.
78
79 --------------------------------------
80 SunOS 4.1.1/4.1.3/4.1.4:
81
82 You can't use the C compiler that comes with SunOS 4 since
83 it isn't ANSI C.  But nmh builds just fine with gcc. With
84 --enable-debug you will see a lot of warnings.
85
86 --------------------------------------
87
88 --
89 The nmh team
90 nmh-workers@nongnu.org