Commit | Line | Data |
---|---|---|
b727702b EZ |
1 | Emacs machines list |
2 | ||
0a33da51 | 3 | Copyright (C) 1989, 1990, 1992, 1993, 1998, 2001, 2002, 2003, 2004, |
bb65542c | 4 | 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
5b87ad55 | 5 | See the end of the file for license conditions. |
b727702b | 6 | |
f4b79972 EZ |
7 | This is a list of the status of GNU Emacs on various machines and systems. |
8 | ||
9 | For each system and machine, we give the configuration name you should | |
10 | pass to the `configure' script to prepare to build Emacs for that | |
11 | system/machine. | |
12 | ||
13 | The `configure' script uses the configuration name to decide which | |
14 | machine and operating system description files `src/config.h' should | |
15 | include. The machine description files are all in `src/m', and have | |
16 | names similar to, but not identical to, the machine names used in | |
17 | configuration names. The operating system files are all in `src/s', | |
18 | and are named similarly. See the `configure' script if you need to | |
19 | know which configuration names use which machine and operating system | |
20 | description files. | |
21 | ||
22 | If you add support for a new configuration, add a section to this | |
23 | file, and then edit the `configure' script to tell it which | |
24 | configuration name(s) should select your new machine description and | |
25 | system description files. | |
26 | ||
e10bf4de EZ |
27 | Some obsolete platforms are unsupported beginning with Emacs 23.1, see |
28 | the full list at the end of this file. | |
29 | ||
f4b79972 EZ |
30 | \f |
31 | Here are the configurations Emacs is intended to work with, with the | |
32 | corresponding configuration names. You can postpend version numbers | |
33 | to operating system names (i.e. sunos4.1) or architecture names (i.e. | |
34 | hppa1.1). If you leave out the version number, the `configure' script | |
35 | will configure Emacs for the latest version it knows about. | |
36 | ||
f3041af1 | 37 | Alpha (DEC) running GNU/Linux (alpha-dec-linux-gnu) |
f4b79972 | 38 | |
538af1cd EZ |
39 | DEC C compiler version 5.9 (DEC C V5.9-005 on Digital UNIX V4.0f) |
40 | is reported to produce bogus binaries of Emacs 21.2 when the | |
41 | command-line switches "-O4 -arch ev6 -tune ev6" are used. Using | |
42 | just -O4 produces a good executable. | |
43 | ||
f4b79972 EZ |
44 | For 4.0 revision 564, and 4.0A and 4.0B, Emacs 20 seems to work |
45 | with no special configuration options. However, if you use GCC as | |
46 | your compiler, you will need version 2.8.1 or later, as older | |
47 | versions fail to build with a message "Invalid dimension for the | |
48 | charset-ID 160". | |
49 | ||
50 | Note that the X11 libraries on GNU/Linux systems for the Alpha are | |
51 | said to have bugs that prevent Emacs from working with X (as of | |
52 | November 1995). Recent releases work (July 2000). | |
53 | ||
128a6043 ST |
54 | Apple Macintosh running Mac OS X |
55 | ||
9e2a2647 | 56 | For installation instructions see the file nextstep/INSTALL. |
128a6043 | 57 | |
9ff069a5 EZ |
58 | Apple PowerPC Macintosh running GNU/Linux |
59 | ||
60 | There are special considerations for a variety of this system which | |
723718ff | 61 | is known as the ``Yellow Dog [GNU/]Linux'': Emacs may crash during |
9ff069a5 EZ |
62 | dumping. To solve this, edit the header file src/m/macppc.h in the |
63 | Emacs distribution, and remove the "#if 0" and "#endif" directives | |
64 | which surround the following block near the end of the file: | |
65 | ||
178b60d7 | 66 | #if 0 /* This breaks things on PPC GNU/Linux except for Yellowdog, |
9ff069a5 EZ |
67 | even with identical GCC, as, ld. Let's take it out until we |
68 | know what's really going on here. */ | |
69 | /* GCC 2.95 and newer on GNU/Linux PPC changed the load address to | |
70 | 0x10000000. */ | |
71 | #if defined __linux__ | |
72 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | |
73 | #define DATA_SEG_BITS 0x10000000 | |
74 | #endif | |
75 | #endif | |
76 | #endif /* 0 */ | |
77 | ||
78 | After that, reconfigure and rebuild Emacs. It should now build | |
79 | successfully. | |
80 | ||
f4b79972 EZ |
81 | Cubix QBx/386 (i386-cubix-sysv) |
82 | ||
83 | Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c | |
84 | due to a compiler bug. | |
85 | ||
f4b79972 EZ |
86 | Motorola Delta 147 (m68k-motorola-sysv) |
87 | ||
88 | The EMacs 19.26 pretest was reported to work. | |
89 | ||
90 | Motorola Delta boxes running System V/68 release 3. | |
91 | Tested on 147 board with SVR3V7, no X and gcc. | |
92 | Tested on 167 board with SVR3V7, no X, cc, gnucc and gcc. | |
93 | Reports say it works with X too. | |
94 | ||
95 | The installation script chooses the compiler itself. gnucc is | |
96 | preferred. | |
97 | ||
f4b79972 EZ |
98 | Fujitsu DS/90 (sparc-fujitsu-sysv4) |
99 | ||
100 | Changes merged in 20.3. | |
101 | ||
f4b79972 | 102 | HP 9000 series 700 or 800 (Spectrum) (hppa1.0-hp-hpux or hppa1.1-hp-hpux |
f2a77c3a | 103 | or ...hpux9shr) |
f4b79972 EZ |
104 | |
105 | Use hppa1.1 for the 700 series and hppa1.0 for the 800 | |
106 | series machines. (Emacs may not actually care which one you use.) | |
107 | ||
f4b79972 EZ |
108 | Emacs 20 may work on HPUX 10. You need patch PHSS_6202 to install |
109 | the Xaw and Xmu libraries. On HPUX 10.20 you may need to compile with GCC; | |
110 | when Emacs was compiled with HP's C compiler, HP92453-01 A.10.32.03, | |
111 | the subprocess features failed to work. | |
112 | ||
113 | 19.26 is believed to work on HPUX 9 provided you compile with GCC. | |
114 | As of version 19.16, Emacs was reported to build (using GCC) and run | |
115 | on HP 9000/700 series machines running HP/UX versions 8.07 and 9.01. | |
116 | The HP compiler is known to fail on some versions if you use +O3, | |
117 | but it may work with lower optimization levels. | |
118 | ||
119 | Use hppa1.1-hp-hpux9shr to use shared libraries on HPUX version 9. | |
120 | You may need to create the X libraries libXaw.a and libXmu.a from | |
121 | the MIT X distribute, and you may need to edit src/Makefile's | |
122 | definition of LIBXT to look like this: | |
123 | ||
124 | LIBXT= $(LIBW) -lXmu -lXt $(LIBXTR6) -lXext | |
125 | ||
126 | Some people report trouble using the GNU memory allocator under | |
127 | HP/UX version 9. The problems often manifest as lots of ^@'s in the | |
128 | buffer. | |
c60ee5e7 | 129 | |
f4b79972 EZ |
130 | We are told that these problems go away if you obtain the latest |
131 | patches for the HP/UX C compiler. James J Dempsey | |
132 | <jjd@spserv.bbn.com> says that this set of versions works for him: | |
133 | /bin/cc: | |
134 | HP92453-01 A.09.28 HP C Compiler | |
135 | /lib/ccom: | |
136 | HP92453-01 A.09.28 HP C Compiler | |
137 | HP-UX SLLIC/OPTIMIZER HP-UX.09.00.23 02/18/93 | |
138 | Ucode Code Generator - HP-UX.09.00.23.5 (patch) 2/18/93 | |
139 | ||
140 | For 700 series machines, the HP-UX patch needed is known as | |
141 | PHSS_2653. (Perhaps for 800 series machines as well; we don't | |
142 | know.) If you are on the Internet, you should be able to obtain | |
143 | this patch by using telnet to access the machine | |
144 | support.mayfield.hp.com and logging in as "hpslreg" and following | |
145 | the instructions there. Or you may be able to use this | |
146 | web site: | |
147 | ||
148 | HP Patch Server: http://support.mayfield.hp.com/patches/html/patches.html | |
149 | HP Support Line: http://support.mayfield.hp.com | |
150 | ||
151 | Please do not ask FSF for further support on this. If you have any | |
152 | trouble obtaining the patch, contact HP Software Support. | |
153 | ||
154 | If your buffer fills up with nulls (^@) at some point, it could well | |
155 | be that problem. That problem does not happen when people use GCC | |
156 | to compile Emacs. On the other hand, the HP compiler version 9.34 | |
157 | was reported to work for the 19.26 pretest. 9.65 was also reported to work. | |
158 | ||
159 | If you turn on the DSUSP character (delayed suspend), | |
160 | Emacs 19.26 does not know how to turn it off on HPUX. | |
161 | You need to turn it off manually. | |
162 | ||
163 | If you are running HP/UX release 8.0 or later, you need the optional | |
164 | "C/ANSI C" software in order to build Emacs (older releases of HP/UX | |
165 | do not require any special software). If the file "/etc/filesets/C" | |
166 | exists on your machine, you have this software, otherwise you do not. | |
167 | ||
f4b79972 EZ |
168 | IBM RS/6000 (rs6000-ibm-aix*) |
169 | ||
170 | Emacs 19.26 is believed to work; its pretest was tested. | |
171 | ||
172 | Compiling with the system's `cc' and CFLAGS containing `-O5' might | |
173 | fail because libXbsd isn't found. This is a compiler bug; | |
174 | re-configure Emacs so that it isn't compiled with `-O5'. | |
175 | ||
a9f66ecb EZ |
176 | On AIX 4.3.x and 4.4, compiling with /bin/c89 fails because it |
177 | treats certain warnings as errors. Use `cc' instead. | |
178 | ||
f4b79972 EZ |
179 | At last report, Emacs didn't run well on terminals. Informed |
180 | persons say that the tty VMIN and VTIME settings have been | |
181 | corrupted; if you have a fix, please send it to us. | |
182 | ||
183 | Compiling with -O using the IBM compiler has been known | |
184 | to make Emacs work incorrectly. It's reported that on | |
185 | AIX 3.2.5 with an IBM compiler earlier than 1.03.00.14, | |
186 | cc -O fails for some files. You need to install any | |
187 | PTF containing APAR #IX42810 to bring the compiler to | |
188 | the 1.03.00.14 level to allow optimized compiles. | |
189 | ||
190 | There are reports that IBM compiler versions earlier than 1.03.00.02 | |
191 | fail even without -O. However, another report said that compiler | |
192 | version 1.02.01.00 did work, on AIX 3.2.4, with Emacs 19.31. | |
193 | ||
194 | As of 19.11, if you strip the Emacs executable, it ceases to work. | |
195 | ||
f4b79972 EZ |
196 | If anyone can fix the above problems, or confirm that they don't happen |
197 | with certain versions of various programs, we would appreciate it. | |
198 | ||
cc9458f7 EZ |
199 | IBM System/390 running GNU/Linux (s390-*-linux-gnu) |
200 | ||
201 | As of Emacs 21.2, a 31-bit only version is supported on this | |
202 | system. | |
203 | ||
c796009c DN |
204 | Intel 386 (i386-*-freebsd, i386-*-linux-gnu, |
205 | i386-*-sol2.4, i386-intsys-sysv, | |
206 | i386-*-sysv4, i386-*-sysv4.2, i386-*-cygwin, | |
f4b79972 EZ |
207 | i386-*-msdos, i386-*-windowsnt. |
208 | i386... can be replaced with i486... or i586...) | |
209 | ||
210 | In the above configurations, * means that the manufacturer's name | |
211 | you specify does not matter, and you can use any name you like | |
212 | (but it should not contain any dashes or stars). | |
213 | ||
f4b79972 | 214 | Use i386-*-linux-gnu for GNU/Linux systems; Emacs runs as of version 19.26. |
bf247b6e | 215 | Use i386-*-cygwin for Cygwin; Emacs builds as of version 22.1, in both X11 |
c60ee5e7 | 216 | and non-X11 modes. (The Cygwin site has source and binaries for 21.2.) |
f4b79972 EZ |
217 | Use i386-intsys-sysv for Integrated Solutions 386 machines. |
218 | It may also be correct for Microport systems. | |
f4b79972 EZ |
219 | |
220 | On GNU/Linux systems, Emacs 19.23 was said to work properly with libc | |
221 | version 4.5.21, but not with 4.5.19. If your system uses QMAGIC | |
222 | for the executable format, you must edit config.h to define LINUX_QMAGIC. | |
223 | ||
224 | On GNU/Linux, configure may fail to put these definitions in config.h: | |
225 | ||
226 | #define HAVE_GETTIMEOFDAY | |
227 | #define HAVE_MKDIR | |
228 | #define HAVE_RMDIR | |
229 | #define HAVE_XSCREENNUMBEROFSCREEN | |
230 | ||
231 | To work around the problem, add those definitions by hand. | |
232 | It is possible that this problem happens only with X11R6. | |
233 | Newer system versions have fixed it. | |
234 | ||
235 | The 19.26 pretest was reported to work on SVR4.3 and on Freebsd. | |
236 | ||
237 | 19.29 is reported to crash when using Motif on Solaris 2.5. | |
238 | The reasons are not yet known. | |
239 | ||
f4b79972 EZ |
240 | For System V release 4, use i386-*-sysv4. |
241 | For System V release 4.2, use i386-*-sysv4.2. | |
242 | ||
f4b79972 EZ |
243 | If you are using SCO Unix, see notes at end under SCO. |
244 | ||
c796009c | 245 | On NetBSD and FreeBSD, at one time, it was necessary to use |
f4b79972 EZ |
246 | GNU make, not the system's make. Assuming it's installed as gmake, |
247 | do `gmake install MAKE=gmake'. However, more recently it is | |
248 | reported that using the system Make on NetBSD 1.3.1 works ok. | |
249 | ||
250 | If you are using System V release 4.2, you may find that `cc -E' | |
251 | puts spurious spaces in `src/xmakefile'. If that happens, | |
252 | specify CPP=/lib/cpp as an option when you run make. | |
253 | There is no problem if you compile with GCC. | |
c60ee5e7 | 254 | |
f4b79972 EZ |
255 | Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries |
256 | requires the experimental "net 2" network patches (no relation to | |
257 | Berkeley Net 2). There is a report that (some version of) Linux | |
258 | requires including `/usr/src/linux/include/linux' in buffer.c | |
259 | but no coherent explanation of why that might be so. If it is so, | |
260 | in current versions of Linux, something else should probably be changed. | |
261 | ||
f4b79972 EZ |
262 | Some versions have sys/sioctl.h, and require it in sysdep.c. |
263 | But some versions do not have sys/sioctl.h. | |
264 | For a given version of the system, this may depend on whether you have | |
265 | X Windows or TCP/IP. Define or undefine NO_SIOCTL_H in config.h | |
266 | according to whether you have the file. | |
267 | ||
268 | Likewise, some versions have been known to need sys/ttold.h, sys/stream.h, | |
269 | and sys/ptem.h included in sysdep.c. If your system has these files, | |
270 | try defining NEED_PTEM_H in config.h if you have trouble without it. | |
271 | ||
272 | You may find that adding -I/usr/X/include or -I/usr/netinclude or both | |
273 | to CFLAGS avoids compilation errors on certain systems. | |
274 | ||
275 | Some versions convince sysdep.c to try to use `struct tchars' | |
276 | but define `struct tc' instead; add `#define tchars tc' | |
277 | to config.h to solve this problem. | |
278 | ||
c796009c | 279 | Iris 4D (mips-sgi-irix6.*) |
f4b79972 | 280 | |
17ce526b RS |
281 | Emacs 21.3 is reported to work on IRIX 6.5.x. |
282 | ||
f4b79972 EZ |
283 | You can build a 64-bit executable (with larger maximum buffer size) |
284 | on Irix 6.5 by specifying the 64-bit ABI using the `-64' compiler | |
285 | flag or otherwise (see cc(1)). This may work on earlier Irix 6 | |
286 | systems if you edit src/s/irix6-0.h following irix6-5.h. | |
287 | ||
288 | If compiling with GCC on Irix 6 yields an error "conflicting types | |
289 | for `initstate'", install GCC 2.95 or a newer version, and this | |
290 | problem should go away. It is possible that this problem results | |
291 | from upgrading the operating system without reinstalling GCC; so you | |
292 | could also try reinstalling the same version of GCC, and telling us | |
293 | whether that fixes the problem. | |
294 | ||
f4b79972 EZ |
295 | NCR Intel system (i386-ncr-sysv4.2) |
296 | ||
297 | This system works in 19.31, but if you don't link it with GNU ld, | |
298 | you may need to set LD_RUN_PATH at link time to specify where | |
299 | to find the X libraries. | |
300 | ||
f4b79972 EZ |
301 | Prime EXL (i386-prime-sysv) |
302 | ||
303 | Minor changes merged in 19.1. | |
304 | ||
f4b79972 EZ |
305 | Siemens Nixdorf RM600 and RM400 (mips-siemens-sysv4) |
306 | ||
f3041af1 | 307 | Changes merged in 19.29. The version configured with |
f4b79972 EZ |
308 | `--with-x' works without any modifications, but `--with-x-toolkit' |
309 | works only if the Athena library and the Toolkit library are linked | |
310 | statically. For this, edit `src/Makefile' after the `configure' run | |
311 | and modify the lines with `-lXaw' and `-lXt' as follows: | |
312 | ||
313 | LIBW= /usr/lib/libXaw.a | |
314 | LIBXT= $(LIBW) -lXmu /usr/lib/libXt.a $(LIBXTR6) -lXext | |
315 | ||
316 | In addition, `--with-x-toolkit=motif' works only | |
317 | if the Motif library and the Toolkit library are linked statically. | |
318 | To do this, edit `src/Makefile' after the `configure' run | |
319 | and modify the lines with `-lXm' and `-lXt' as follows: | |
320 | ||
321 | LIBW= /usr/lib/libXm.a /usr/ccs/lib/libgen.a | |
322 | LIBXT= $(LIBW) -lXmu /usr/lib/libXt.a $(LIBXTR6) -lXext | |
323 | ||
f2a77c3a DN |
324 | Sun 4 (sparc), Sun 386 (sparc-sun-solaris2.*, |
325 | i386-sun-solaris2.*, sparc*-*-linux-gnu) | |
f4b79972 | 326 | |
5ebc76c9 EZ |
327 | To build a 32-bit Emacs (i.e. if you are having any sort of problem |
328 | bootstrapping a 64-bit version), you can use the Sun Studio compiler | |
329 | and configure Emacs with: | |
330 | env CC="cc -xarch=v7" CFLAGS='' ./configure # on SPARC systems | |
331 | env CC="cc -xarch=386" CFLAGS='' ./configure # on x86 systems | |
332 | On Solaris 2.10, it is also possible to use /usr/sfw/bin/gcc to build | |
333 | a 32-bit version of Emacs. Just make sure you point ./configure to | |
334 | the right compiler: | |
335 | ||
336 | env CC='/usr/sfw/bin/gcc -m32' ./configure | |
337 | ||
f4b79972 EZ |
338 | To build a 64-bit Emacs (with larger maximum buffer size and |
339 | including large file support) on a Solaris system which supports | |
340 | 64-bit executables, use the Sun compiler, configuring something like | |
341 | this (see the cc documentation for information on 64-bit | |
5ebc76c9 EZ |
342 | compilation): |
343 | ||
344 | env CC="cc -xarch=v9" CFLAGS='' ./configure # on SPARC systems | |
345 | env CC="cc -xarch=amd64" CFLAGS='' ./configure # on x86 systems | |
f4b79972 EZ |
346 | |
347 | As of version 2.95, GCC doesn't support the 64-bit ABI properly, but | |
348 | later releases may. | |
349 | ||
1ebfc51b EZ |
350 | Some versions of Solaris 8 have a bug in their XIM (X Input Method) |
351 | implementation which causes Emacs to dump core when one of several | |
352 | frames is closed. To avoid this, either install patch 108773-12 | |
353 | (for Sparc) or 108874-12 (for x86), or configure Emacs with the | |
354 | `--with-xim=no' switch (you can use Leim input methods instead). | |
355 | ||
f4b79972 EZ |
356 | On Solaris 2.7, building Emacs with WorkShop Compilers 5.0 98/12/15 |
357 | C 5.0 failed, apparently with non-default CFLAGS, most probably due to | |
358 | compiler bugs. Using Sun Solaris 2.7 Sun WorkShop 6 update 1 C | |
359 | release was reported to work without problems. It worked OK on | |
360 | another system with Solaris 8 using apparently the same 5.0 compiler | |
361 | and the default CFLAGS. | |
362 | ||
9b4505aa EZ |
363 | Emacs 21.1 and 21.2 built with Sun's ProWorks PC3.0.1 compiler on |
364 | Intel/Solaris 8 was reported to abort and dump core during startup. | |
365 | Using GCC or a newer SUN compiler (Sun WokShop 6 update 2 C 5.3 | |
366 | 2001/05/15) solves the problem. | |
367 | ||
f4b79972 EZ |
368 | Emacs 20.5 and later work on SPARC GNU/Linux with the 32-bit ABI. |
369 | As of release 2.95, GCC doesn't work properly with the 64-bit ABI | |
370 | (applicable on UltraSPARC), but that isn't the default mode. | |
371 | ||
372 | Emacs 20.3 fails to build on Solaris 2.5 if you use GCC 2.7.2.3. | |
373 | Installing GCC 2.8 fixes the problem. | |
374 | ||
375 | 19.32 works on Solaris 2.4 and 2.5. On Solaris 2.5 | |
376 | you may need one of these patches to prevent Emacs from crashing | |
377 | when it starts up: | |
c60ee5e7 JB |
378 | 103093-03: [README] SunOS 5.5: kernel patch (2140557 bytes) |
379 | 102832-01: [README] OpenWindows 3.5: Xview Jumbo Patch (4181613 bytes) | |
f4b79972 EZ |
380 | 103242-04: [README] SunOS 5.5: linker patch (595363 bytes) |
381 | ||
382 | There are reports that using SunSoft cc with -xO4 -xdepend produces | |
383 | bad code for some part of Emacs. | |
384 | ||
f4b79972 EZ |
385 | Some people report that Emacs crashes immediately on startup when |
386 | used with a non-X terminal, but we think this is due to compiling | |
387 | with GCC and failing to use GCC's "fixed" system header files. | |
388 | ||
389 | Some Sun versions of X windows use the clipboard, not the selections, | |
390 | for transferring text between clients. The Cut, Paste and Copy items | |
391 | in the menu bar Edit menu work with the clipboard. | |
392 | ||
f4b79972 EZ |
393 | A user reported irreproducible segmentation faults when using 19.29 |
394 | on Solaris 2.3 and 2.4 after compiling it with the Sun compiler. | |
395 | The problem went away when GCC 2.7.0 was used instead. We do not know | |
396 | whether anything in Emacs is partly to blame for this. | |
397 | ||
f4b79972 EZ |
398 | If you compile with Sun's ANSI compiler acc, you need additional options |
399 | when linking temacs, such as | |
400 | /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1 | |
401 | (those should be added just before the libraries) and you need to | |
402 | add -lansi just before -lc. The precise file names depend on the | |
403 | compiler version, so we cannot easily arrange to supply them. | |
404 | ||
f4b79972 EZ |
405 | On Solaris 2, you need to install patch 100947-02 to fix a system bug. |
406 | Presumably this patch comes from Sun. You must alter the definition of | |
407 | LD_SWITCH_SYSTEM if your X11 libraries are not in /usr/openwin/lib. | |
408 | You must make sure that /usr/ucblib is not in your LD_LIBRARY_PATH. | |
409 | ||
f4b79972 EZ |
410 | On Solaris, do not use /usr/ucb/cc. Use /opt/SUNWspro/bin/cc. Make |
411 | sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before | |
412 | /usr/ucb. (Most free software packages have the same requirement on | |
67b33cb0 GM |
413 | Solaris.) With this compiler, use `/opt/SUNWspro/bin/cc -E' as the |
414 | preprocessor. If this inserts extra whitespace into its output (see | |
415 | the PROBLEMS file) then add the option `-Xs'. | |
f4b79972 EZ |
416 | |
417 | If you have trouble using open-network-stream, get the distribution | |
418 | of `bind' (the BSD name-server), build libresolv.a, and link Emacs | |
419 | with -lresolv, by copying the #definition of LIBS_SYSTEM in | |
420 | src/s/sunos4-1.h to src/config.h. This problem is due to obsolete | |
421 | software in the nonshared standard library. | |
422 | ||
f4b79972 EZ |
423 | Note that Emacs on a Sun is not really as big as it looks. |
424 | As dumped, it includes around 200k of zeros between the | |
425 | original text section and the original data section | |
426 | (now remapped as part of the text). These are never | |
427 | swapped in. | |
428 | ||
fac5dc61 DN |
429 | SuperH (sh[34]*-*-linux-gnu) |
430 | ||
431 | Emacs 23.0.60 was reported to work on GNU/Linux (October 2008). | |
432 | Tested on a little-endian sh4 system (cpu type SH7751R) running | |
433 | Gentoo Linux 2008.0. | |
434 | ||
f4b79972 EZ |
435 | Tadpole 68K (m68k-tadpole-sysv) |
436 | ||
437 | Changes merged in 19.1. | |
438 | ||
439 | You may need to edit Makefile to change the variables LIBDIR and | |
440 | BINDIR from /usr/local to /usr/contrib. | |
441 | ||
442 | To give movemail access to /usr/mail, you may need to execute | |
443 | ||
444 | chmod 2755 etc/movemail; chgrp mail etc/movemail | |
445 | ||
7c2fb837 | 446 | Vaxen running Berkeley Unix (vax-dec-bsd4.1, vax-dec-bsd4.2, vax-dec-bsd4.3) |
f4b79972 EZ |
447 | |
448 | Works. | |
f4b79972 EZ |
449 | \f |
450 | Here are notes about some of the systems supported: | |
451 | ||
f4b79972 EZ |
452 | Linux (actually GNU/Linux) |
453 | ||
454 | Most of the complete systems which use the Linux kernel are close | |
455 | enough to the GNU system to be considered variant GNU systems. We | |
456 | call them "Linux-based GNU systems," or GNU/Linux for short. | |
457 | ||
458 | It is not coincidence that many of the other components used with | |
459 | Linux--including GNU Emacs--were developed specifically for the GNU | |
460 | project. The GNU project was launched in 1984 to develop a free | |
461 | complete Unix-like operating system. To reach this goal, we had to | |
462 | develop whatever system components were not available as freely | |
463 | redistributable software from some other source. | |
464 | ||
465 | The GNU project wants users of GNU/Linux systems to be aware of how | |
466 | these systems relate to the GNU project, because that will help | |
467 | spread the GNU idea that software should be free--and thus encourage | |
468 | people to write more free software. See the file LINUX-GNU in this | |
469 | directory for more explanation. | |
470 | ||
471 | Microport | |
472 | ||
473 | See under "Intel 386". | |
474 | ||
475 | MSDOS | |
476 | ||
477 | For installation on MSDOS, see the file INSTALL (search for `MSDOG', | |
478 | near the end of the file). See the "MS-DOS" chapter of the manual | |
479 | for information about using Emacs on MSDOS. | |
480 | ||
f4b79972 EZ |
481 | System V rel 4.0.3 and 4.0.4 (usg5.4) |
482 | ||
483 | Supported, including shared libraries for ELF, but ptys do not work | |
484 | because TIOCGPGRP fails to work on ptys (but Dell 2.2 seems to have | |
485 | fixed this). This failure is probably due to a misunderstanding of | |
486 | the consequences of the POSIX spec: many system designers mistakenly | |
487 | think that POSIX requires this feature to fail. This is untrue; | |
488 | ptys are an extension, and POSIX says that extensions *when used* | |
489 | may change the action of standard facilities in any fashion. | |
490 | ||
491 | If you get compilation errors about wrong number of | |
492 | arguments to getpgrp, define GETPGRP_NO_ARG. | |
493 | ||
494 | The standard C preprocessor may generate xmakefile incorrectly. However, | |
495 | /lib/cpp will work, so use `make CPP=/lib/cpp'. Standard cpp | |
496 | seems to work OK under Dell 2.2. | |
497 | ||
498 | Some versions 3 and earlier of V.4, on the Intel 386 and 860, had | |
499 | problems in the X11 libraries. These prevent Emacs from working | |
500 | with X. You can use Emacs with X provided your copy of X is based | |
501 | on X11 release 4 or newer, or is Dell's 2.2 (which is a 4.0.3). | |
502 | Unfortunately, the only way you can tell whether your X11 library is | |
503 | new enough is to try compiling Emacs to use X. If emacs runs, your | |
504 | X11 library is new enough. | |
505 | ||
506 | In this context, GSV4 and GSV4i are alternate names for X11R4. | |
507 | OL2.* is X11R3 based. OL3 is in between X11R3 and X11R4, and may or | |
508 | may not work, depending on who made the Unix system. If the library | |
509 | libXol is part of the X distribution, then you have X11R3 and Emacs | |
510 | won't work with X. | |
511 | ||
512 | Most versions of V.4 support sockets. If `/usr/lib/libsocket.so' | |
513 | exists, your system supports them. If yours does not, you must add | |
514 | #undef HAVE_SOCKETS in config.h, after the inclusion of s-usg5-4.h. | |
515 | (Any system that supports Internet should implement sockets.) | |
516 | ||
f4b79972 EZ |
517 | Windows NT/95/98/ME/2000 |
518 | ||
519 | For installation on all versions of the MS-Windows platform, see the | |
520 | file nt/INSTALL. | |
521 | ||
745377e8 GM |
522 | X86_64 GNU/Linux |
523 | ||
524 | No special procedures should be needed to build a 64-bit Emacs. To | |
525 | build a 32-bit Emacs, first ensure that the necessary 32-bit system | |
526 | libraries and include files are installed. Then use: | |
527 | ||
528 | env CC="gcc -m32" ./configure --build=i386-linux-gnu \ | |
529 | --x-libraries=/usr/X11R6/lib | |
530 | ||
531 | (using the location of the 32-bit X libraries on your system). | |
532 | ||
e10bf4de EZ |
533 | Support for the following obsolete platforms was removed in Emacs 23.1 |
534 | (the names in parentheses state the files in src/ that were removed): | |
535 | ||
536 | Apollo SR10.x (unexapollo.c) | |
537 | Convex (unexconvex.c and m/convex.c) | |
538 | Xenix (unexenix.c and s/xenix.h) | |
539 | Iris (unexmips.c m/iris4d.h m/irist.h s/iris3-5.h s/iris3-6.h) | |
540 | Gould (m/gould*) | |
541 | Siemens machines running Sinix (unexsni.c) | |
542 | Harris CXUX (s/cxux*) | |
543 | ESIX, a variant of v.5.3 for the 386 (s/esix*) | |
544 | Interactive (ISC) Unix (s/isc*) | |
545 | Sony News (s/newsos*) | |
546 | RTU 3.0, ucb universe (s/rtu.h) | |
547 | UniSoft's UniPlus 5.2 (s/uniplus.h) | |
548 | UMAX (s/umax.h) | |
549 | AT&T UNIX PC model 7300 (m/7300.h) | |
550 | Acorn | |
551 | Alliant (m/alliant*) | |
552 | Amdahl (m/amdahl*) | |
553 | Altos 3068 Unix System V Release 2 (m/altos.h) | |
554 | Apollo (m/apollo.h) | |
555 | AT&T 3b (m/att3b.h) | |
556 | Aviion (m/aviion*) | |
f2a77c3a DN |
557 | Berkeley 4.1 (m/bsd4.1.h) |
558 | Berkeley 4.2 (m/bsd4.2.h) | |
559 | Berkeley 4.3 (m/bsd4.3.h) | |
e10bf4de EZ |
560 | Celerity (m/celerity.h) |
561 | clipper (m/clipper.h) | |
562 | convergent S series (m/cnvrgnt.h) | |
563 | cydra (m/cydra5.h) | |
564 | Motorola System V/88 machines (m/delta88k.h) | |
565 | Bull DPX/2 range (m/dpx2.h) | |
566 | Dual machines using unisoft port (m/dual.h) | |
567 | Elxsi machine (running enix) (m/elxsi.h) | |
568 | Fujitsu F301 machine (m/f301.h) | |
569 | i860 (m/i860.h) | |
570 | ibm ps/2 aix386 (m/ibmps2-aix.h) | |
571 | ISI 68000's (m/is*) | |
572 | Masscomp 5000 series running RTU, ucb universe (m/masscomp.h) | |
573 | Megatest 68000's (m/mega68.h) | |
574 | Whitechapel Computer Works MG1 (ns16000 based) (m/mg1.h) | |
575 | Harris Night Hawk Series 1200 and Series 3000 (m/nh3000.h m/nh4000.h) | |
576 | ns16000 (m/ns16000.h) | |
577 | National Semiconductor 32000, running Genix (m/ns32000.h) | |
578 | TI Nu machines using system V (m/nu.h) | |
579 | HLH Orion (m/orion.h m/orion105.h) | |
580 | Paragon i860 (m/paragon.h) | |
581 | PFU A-series (m/pfa50.h) | |
582 | Plexus running System V.2 (m/plexus.h) | |
583 | pyramid. (m/pyramid.h) | |
e10bf4de EZ |
584 | Bull SPS-7 (m/sps7.h) |
585 | Hitachi SR2001/SR2201 (m/sr2k.h) | |
586 | Stride (m/stride.h) | |
587 | Sun 1 (m/sun1.h) | |
588 | Sun 2 (m/sun2.h) | |
589 | SEQUENT SYMMETRY (m/symmetry.h) | |
590 | Tadpole 68k machines (m/tad68k.h) | |
591 | tahoe (m/tahoe.h) | |
592 | targon31 (m/targon31.h) | |
593 | Tektronix* (m/tek4300.h m/tekxd88.h) | |
594 | NCR Tower 32 running System V.2 (m/tower32.h) | |
595 | NCR Tower 32 running System V.3 (m/tower32v3.h) | |
596 | U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30) (m/ustation.h) | |
597 | Wicat (m/wicat.h) | |
598 | Honeywell XPS100 running UNIX System V.2 (m/xps100.h) | |
599 | Data General's DG/UX (s/dgux*) | |
600 | Irix before version 6 | |
601 | osf1 (s/osf*) | |
602 | SunOS4 (s/sunos*) | |
603 | RISCiX (s/riscix*) | |
604 | SCO 3.2v4 (s/sco4.h) | |
605 | SCO 3.2v5 (s/sco5.h) | |
606 | Sun's 386-based RoadRunner (m/sun386.h) | |
607 | Sun3 machines (m/sun3*) | |
0d5998d1 | 608 | Integrated Solutions 386 machine (m/is386.h) |
f2a77c3a | 609 | Integrated Solutions `Optimum V' -- m68k-isi-bsd4.2 or -bsd4.3 |
8aa3be83 | 610 | Harris Power PC (powerpc-harris-powerunix) |
f2a77c3a DN |
611 | Hewlett-Packard 9000 series 200 or 300 -- m68k-hp-bsd or m68k-hp-hpux or m68k-hp-netbsd |
612 | IBM PS/2 -- i386-ibm-aix1.1 or i386-ibm-aix1.2 | |
613 | GEC 63 -- local-gec63-usg5.2 | |
614 | Tandem Integrity S2 -- mips-tandem-sysv | |
615 | System V rel 0 -- usg5.0 | |
616 | System V rel 2 -- usg5.2 | |
617 | System V rel 2.2 -- usg5.2.2 | |
618 | System V rel 3 -- usg5.3 | |
619 | Ultrix -- bsd4.3 | |
7c2fb837 | 620 | VMS (s/vms.h) |
e10bf4de | 621 | |
f4b79972 EZ |
622 | \f |
623 | Local variables: | |
48e7e123 | 624 | mode: text |
f4b79972 EZ |
625 | fill-prefix: " " |
626 | End: | |
ab5796a9 | 627 | |
5b87ad55 GM |
628 | This file is part of GNU Emacs. |
629 | ||
ab73e885 | 630 | GNU Emacs is free software: you can redistribute it and/or modify |
5b87ad55 | 631 | it under the terms of the GNU General Public License as published by |
ab73e885 GM |
632 | the Free Software Foundation, either version 3 of the License, or |
633 | (at your option) any later version. | |
5b87ad55 GM |
634 | |
635 | GNU Emacs is distributed in the hope that it will be useful, | |
636 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
637 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
638 | GNU General Public License for more details. | |
639 | ||
640 | You should have received a copy of the GNU General Public License | |
ab73e885 | 641 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
c8aeb93e | 642 | |
ab5796a9 | 643 | arch-tag: 7d2e93c7-e982-40ec-9055-3cd064042473 |