declare smobs in alloc.c
[bpt/emacs.git] / etc / MACHINES
CommitLineData
b727702b
EZ
1Emacs machines list
2
ba318903 3Copyright (C) 1989-1990, 1992-1993, 1998, 2001-2014 Free Software
ab422c4d 4Foundation, Inc.
5b87ad55 5See the end of the file for license conditions.
b727702b 6
f4b79972
EZ
7This is a list of the status of GNU Emacs on various machines and systems.
8
ad5a7209
GM
9Information about older releases, and platforms that are no longer
10supported, has been removed. Consult older versions of this file if
11you are interested in this information.
f4b79972 12
f71e87cb
GM
13The `configure' script uses the configuration name, and the results of
14testing the system, to decide which options to use in src/config.h and
15elsewhere (eg Makefiles).
f4b79972
EZ
16
17If you add support for a new configuration, add a section to this
f71e87cb 18file, and edit the `configure.ac' source as needed.
f4b79972 19
393aa9d4 20Some obsolete platforms are unsupported beginning with Emacs 23.1. See
ad5a7209 21the list at the end of this file.
e10bf4de 22
f4b79972 23\f
ad5a7209 24* Here are notes about some of the systems supported:
f4b79972 25
393aa9d4 26** GNU/Linux
f4b79972
EZ
27
28 Most of the complete systems which use the Linux kernel are close
29 enough to the GNU system to be considered variant GNU systems. We
30 call them "Linux-based GNU systems," or GNU/Linux for short.
31
32 It is not coincidence that many of the other components used with
33 Linux--including GNU Emacs--were developed specifically for the GNU
34 project. The GNU project was launched in 1984 to develop a free
35 complete Unix-like operating system. To reach this goal, we had to
36 develop whatever system components were not available as freely
37 redistributable software from some other source.
38
39 The GNU project wants users of GNU/Linux systems to be aware of how
40 these systems relate to the GNU project, because that will help
41 spread the GNU idea that software should be free--and thus encourage
00156f95
GM
42 people to write more free software. For more information, see
43 <http://www.gnu.org/gnu/linux-and-gnu.html>.
f4b79972 44
393aa9d4
PE
45*** 64-bit GNU/Linux
46
47 No special procedures should be needed to build a 64-bit Emacs on a
48 64-bit GNU/Linux system. To build a 32-bit Emacs, first ensure that
49 the necessary 32-bit system libraries and include files are
50 installed. Then use:
51
52 ./configure CC='gcc -m32' --build=i386-linux-gnu \
53 --x-libraries=/usr/X11R6/lib
54
55 (using the location of the 32-bit X libraries on your system).
56
57*** IBM System/390 running GNU/Linux (s390-*-linux-gnu)
58
59 As of Emacs 21.2, a 31-bit only version is supported on this system.
60
61*** SuperH (sh[34]*-*-linux-gnu)
62
63 Emacs 23.0.60 was reported to work on GNU/Linux (October 2008).
64 This was tested on a little-endian sh4 system (cpu type SH7751R) running
65 Gentoo Linux 2008.0.
66
ad5a7209 67** Mac OS X
f4b79972 68
ad5a7209 69 For installation instructions see the file nextstep/INSTALL.
f4b79972 70
393aa9d4 71** Microsoft Windows
f4b79972 72
393aa9d4
PE
73 For installation instructions see the file nt/INSTALL.
74
75** MS-DOS
76
77 For installation instructions see the file msdos/INSTALL.
ad5a7209 78 See the "MS-DOS" chapter of the manual for information about using
393aa9d4 79 Emacs on MS-DOS.
f4b79972 80
393aa9d4 81** Solaris
f4b79972 82
393aa9d4
PE
83 On Solaris it is also possible to use either GCC or Solaris Studio
84 to build Emacs, by pointing ./configure to the right compiler:
f4b79972 85
393aa9d4
PE
86 ./configure CC='/usr/sfw/bin/gcc' # GCC
87 ./configure CC='cc' # Solaris Studio
745377e8 88
393aa9d4
PE
89 On Solaris, do not use /usr/ucb/cc. Use /opt/SUNWspro/bin/cc. Make
90 sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before
91 /usr/ucb. (Most free software packages have the same requirement on
92 Solaris.) With this compiler, use `/opt/SUNWspro/bin/cc -E' as the
93 preprocessor. If this inserts extra whitespace into its output (see
94 the PROBLEMS file) then add the option `-Xs'.
745377e8 95
393aa9d4
PE
96 To build a 64-bit Emacs (with larger maximum buffer size) on a
97 Solaris system which supports 64-bit executables, specify the -m64
98 compiler option. For example:
745377e8 99
393aa9d4
PE
100 ./configure CC='/usr/sfw/bin/gcc -m64' # GCC
101 ./configure CC='cc -m64' # Solaris Studio
745377e8 102
d7bf6b15
GM
103** Irix 6.5
104
b35883d2
GM
105 Emacs versions later than 24.4 will not compile on Irix by default.
106 (Note that SGI stopped supporting Irix in December 2013.)
107 You should be able to work around the problem either by porting the
108 Emacs undumping code to GCC under Irix, or by configuring --with-wide-int.
109 Older versions of Emacs 24 (and 23?) also had problems on Irix.
110 It *may* be possible to build Emacs <= 24.4 on Irix 6.5 with an old
111 version (3.1) of gcc. Newer versions of gcc may not work.
112 See <http://debbugs.gnu.org/9684>.
d7bf6b15 113
ad5a7209
GM
114\f
115* Obsolete platforms
116
b35883d2
GM
117Support for many obsolete platforms was removed in Emacs 23.1.
118If for some reason you encounter an ancient machine where current
119Emacs does not compile, try an older release like Emacs 22.3.
e10bf4de 120
f4b79972
EZ
121\f
122Local variables:
ad5a7209 123mode: outline
f4b79972
EZ
124fill-prefix: " "
125End:
ab5796a9 126
5b87ad55
GM
127This file is part of GNU Emacs.
128
ab73e885 129GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 130it under the terms of the GNU General Public License as published by
ab73e885
GM
131the Free Software Foundation, either version 3 of the License, or
132(at your option) any later version.
5b87ad55
GM
133
134GNU Emacs is distributed in the hope that it will be useful,
135but WITHOUT ANY WARRANTY; without even the implied warranty of
136MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
137GNU General Public License for more details.
138
139You should have received a copy of the GNU General Public License
ab73e885 140along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.