diff options
| author | Paul Eggert | 2011-08-29 22:52:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-29 22:52:05 -0700 |
| commit | 393aa9d403dda96b2fa061311cc76bbad40489cf (patch) | |
| tree | 4e9e9fc4413b35c68194c32fc07212a52cc84da3 | |
| parent | f9453fcbebf317b65b7ca963b09bd96b46f7d806 (diff) | |
| download | emacs-393aa9d403dda96b2fa061311cc76bbad40489cf.tar.gz emacs-393aa9d403dda96b2fa061311cc76bbad40489cf.zip | |
* MACHINES: Remove obsolete info and update a bit (Bug#9404).
| -rw-r--r-- | etc/ChangeLog | 2 | ||||
| -rw-r--r-- | etc/MACHINES | 276 |
2 files changed, 49 insertions, 229 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 05bf98dd407..24c0fd54422 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-08-30 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-08-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * MACHINES: Remove obsolete info and update a bit (Bug#9404). | ||
| 4 | |||
| 3 | * PROBLEMS: Remove obsolete comment re Yellow Dog (Bug#9403). | 5 | * PROBLEMS: Remove obsolete comment re Yellow Dog (Bug#9403). |
| 4 | 6 | ||
| 5 | 2011-08-24 Steve Chapel <schapel@laptop.stevechapel.com> (tiny change) | 7 | 2011-08-24 Steve Chapel <schapel@laptop.stevechapel.com> (tiny change) |
diff --git a/etc/MACHINES b/etc/MACHINES index 126ae40cb57..1e68376b94a 100644 --- a/etc/MACHINES +++ b/etc/MACHINES | |||
| @@ -24,227 +24,13 @@ file, and then edit the `configure' script to tell it which | |||
| 24 | configuration name(s) should select your new machine description and | 24 | configuration name(s) should select your new machine description and |
| 25 | system description files. | 25 | system description files. |
| 26 | 26 | ||
| 27 | Some obsolete platforms are unsupported beginning with Emacs 23.1, see | 27 | Some obsolete platforms are unsupported beginning with Emacs 23.1. See |
| 28 | the list at the end of this file. | 28 | the list at the end of this file. |
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | ** Alpha (DEC) running GNU/Linux (alpha-dec-linux-gnu) | ||
| 32 | |||
| 33 | DEC C compiler version 5.9 (DEC C V5.9-005 on Digital UNIX V4.0f) | ||
| 34 | is reported to produce bogus binaries of Emacs 21.2 when the | ||
| 35 | command-line switches "-O4 -arch ev6 -tune ev6" are used. Using | ||
| 36 | just -O4 produces a good executable. | ||
| 37 | |||
| 38 | For 4.0 revision 564, and 4.0A and 4.0B, Emacs 20 seems to work | ||
| 39 | with no special configuration options. However, if you use GCC as | ||
| 40 | your compiler, you will need version 2.8.1 or later, as older | ||
| 41 | versions fail to build with a message "Invalid dimension for the | ||
| 42 | charset-ID 160". | ||
| 43 | |||
| 44 | ** Apple Macintosh running Mac OS X | ||
| 45 | |||
| 46 | ** Apple PowerPC Macintosh running GNU/Linux | ||
| 47 | |||
| 48 | ** HP 9000 series 700 or 800 (Spectrum) (hppa1.0-hp-hpux or hppa1.1-hp-hpux) | ||
| 49 | |||
| 50 | Emacs 20 may work on HPUX 10. You need patch PHSS_6202 to install | ||
| 51 | the Xaw and Xmu libraries. On HPUX 10.20 you may need to compile with GCC; | ||
| 52 | when Emacs was compiled with HP's C compiler, HP92453-01 A.10.32.03, | ||
| 53 | the subprocess features failed to work. | ||
| 54 | |||
| 55 | If you turn on the DSUSP character (delayed suspend), Emacs 19.26 | ||
| 56 | does not know how to turn it off on HPUX. You need to turn it off manually. | ||
| 57 | |||
| 58 | If you are running HP/UX release 8.0 or later, you need the optional | ||
| 59 | "C/ANSI C" software in order to build Emacs (older releases of HP/UX | ||
| 60 | do not require any special software). If the file "/etc/filesets/C" | ||
| 61 | exists on your machine, you have this software, otherwise you do not. | ||
| 62 | |||
| 63 | ** IBM RS/6000 (rs6000-ibm-aix*) | ||
| 64 | |||
| 65 | Emacs 19.26 is believed to work; its pretest was tested. | ||
| 66 | |||
| 67 | Compiling with the system's `cc' and CFLAGS containing `-O5' might | ||
| 68 | fail because libXbsd isn't found. This is a compiler bug; | ||
| 69 | re-configure Emacs so that it isn't compiled with `-O5'. | ||
| 70 | |||
| 71 | On AIX 4.3.x and 4.4, compiling with /bin/c89 fails because it | ||
| 72 | treats certain warnings as errors. Use `cc' instead. | ||
| 73 | |||
| 74 | At last report, Emacs didn't run well on terminals. Informed | ||
| 75 | persons say that the tty VMIN and VTIME settings have been | ||
| 76 | corrupted; if you have a fix, please send it to us. | ||
| 77 | |||
| 78 | Compiling with -O using the IBM compiler has been known to make | ||
| 79 | Emacs work incorrectly. There are reports that IBM compiler versions | ||
| 80 | earlier than 1.03.00.02 fail even without -O. | ||
| 81 | |||
| 82 | As of 19.11, if you strip the Emacs executable, it ceases to work. | ||
| 83 | |||
| 84 | If anyone can fix the above problems, or confirm that they don't happen | ||
| 85 | with certain versions of various programs, we would appreciate it. | ||
| 86 | |||
| 87 | ** IBM System/390 running GNU/Linux (s390-*-linux-gnu) | ||
| 88 | |||
| 89 | As of Emacs 21.2, a 31-bit only version is supported on this system. | ||
| 90 | |||
| 91 | ** Intel 386 (i386-*-freebsd, i386-*-linux-gnu, | ||
| 92 | i386-*-cygwin, i386-*-msdos, i386-*-windowsnt. | ||
| 93 | i386 can be replaced with i486, i586, or i686) | ||
| 94 | |||
| 95 | In the above configurations, * means that the manufacturer's name | ||
| 96 | you specify does not matter, and you can use any name you like | ||
| 97 | (but it should not contain any dashes or stars). | ||
| 98 | |||
| 99 | Use i386-*-linux-gnu for GNU/Linux systems; Emacs runs as of version 19.26. | ||
| 100 | Use i386-*-cygwin for Cygwin; Emacs builds as of version 22.1, in both X11 | ||
| 101 | and non-X11 modes. (The Cygwin site has source and binaries for 21.2.) | ||
| 102 | |||
| 103 | On GNU/Linux systems, Emacs 19.23 was said to work properly with libc | ||
| 104 | version 4.5.21, but not with 4.5.19. | ||
| 105 | |||
| 106 | On GNU/Linux, configure may fail to put these definitions in config.h: | ||
| 107 | |||
| 108 | #define HAVE_GETTIMEOFDAY | ||
| 109 | #define HAVE_MKDIR | ||
| 110 | #define HAVE_RMDIR | ||
| 111 | #define HAVE_XSCREENNUMBEROFSCREEN | ||
| 112 | |||
| 113 | To work around the problem, add those definitions by hand. | ||
| 114 | It is possible that this problem happens only with X11R6. | ||
| 115 | Newer system versions have fixed it. | ||
| 116 | |||
| 117 | On NetBSD and FreeBSD, at one time, it was necessary to use | ||
| 118 | GNU make, not the system's make. Assuming it's installed as gmake, | ||
| 119 | do `gmake install MAKE=gmake'. However, more recently it is | ||
| 120 | reported that using the system Make on NetBSD 1.3.1 works ok. | ||
| 121 | |||
| 122 | Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries | ||
| 123 | requires the experimental "net 2" network patches (no relation to | ||
| 124 | Berkeley Net 2). There is a report that (some version of) Linux | ||
| 125 | requires including `/usr/src/linux/include/linux' in buffer.c | ||
| 126 | but no coherent explanation of why that might be so. If it is so, | ||
| 127 | in current versions of Linux, something else should probably be changed. | ||
| 128 | |||
| 129 | You may find that adding -I/usr/X/include or -I/usr/netinclude or both | ||
| 130 | to CFLAGS avoids compilation errors on certain systems. | ||
| 131 | |||
| 132 | Some versions convince sysdep.c to try to use `struct tchars' | ||
| 133 | but define `struct tc' instead; add `#define tchars tc' | ||
| 134 | to config.h to solve this problem. | ||
| 135 | |||
| 136 | ** Iris 4D (mips-sgi-irix6.*) | ||
| 137 | |||
| 138 | Emacs 21.3 is reported to work on IRIX 6.5.x. | ||
| 139 | |||
| 140 | You can build a 64-bit executable (with larger maximum buffer size) | ||
| 141 | on Irix 6.5 by specifying the 64-bit ABI using the `-64' compiler | ||
| 142 | flag or otherwise (see cc(1)). | ||
| 143 | |||
| 144 | If compiling with GCC on Irix 6 yields an error "conflicting types | ||
| 145 | for `initstate'", install GCC 2.95 or a newer version, and this | ||
| 146 | problem should go away. It is possible that this problem results | ||
| 147 | from upgrading the operating system without reinstalling GCC; so you | ||
| 148 | could also try reinstalling the same version of GCC, and telling us | ||
| 149 | whether that fixes the problem. | ||
| 150 | |||
| 151 | ** Sun 4 (sparc), Sun 386 (sparc-sun-solaris2.*, | ||
| 152 | i386-sun-solaris2.*, sparc*-*-linux-gnu) | ||
| 153 | |||
| 154 | To build a 32-bit Emacs (i.e. if you are having any sort of problem | ||
| 155 | bootstrapping a 64-bit version), you can use the Sun Studio compiler | ||
| 156 | and configure Emacs with: | ||
| 157 | env CC="cc -xarch=v7" CFLAGS='' ./configure # on SPARC systems | ||
| 158 | env CC="cc -xarch=386" CFLAGS='' ./configure # on x86 systems | ||
| 159 | On Solaris 2.10, it is also possible to use /usr/sfw/bin/gcc to build | ||
| 160 | a 32-bit version of Emacs. Just make sure you point ./configure to | ||
| 161 | the right compiler: | ||
| 162 | |||
| 163 | env CC='/usr/sfw/bin/gcc -m32' ./configure | ||
| 164 | |||
| 165 | To build a 64-bit Emacs (with larger maximum buffer size and | ||
| 166 | including large file support) on a Solaris system which supports | ||
| 167 | 64-bit executables, use the Sun compiler, configuring something like | ||
| 168 | this (see the cc documentation for information on 64-bit | ||
| 169 | compilation): | ||
| 170 | |||
| 171 | env CC="cc -xarch=v9" CFLAGS='' ./configure # on SPARC systems | ||
| 172 | env CC="cc -xarch=amd64" CFLAGS='' ./configure # on x86 systems | ||
| 173 | |||
| 174 | As of version 2.95, GCC doesn't support the 64-bit ABI properly, but | ||
| 175 | later releases may. | ||
| 176 | |||
| 177 | Some versions of Solaris 8 have a bug in their XIM (X Input Method) | ||
| 178 | implementation which causes Emacs to dump core when one of several | ||
| 179 | frames is closed. To avoid this, either install patch 108773-12 | ||
| 180 | (for Sparc) or 108874-12 (for x86), or configure Emacs with the | ||
| 181 | `--with-xim=no' switch (you can use Leim input methods instead). | ||
| 182 | |||
| 183 | On Solaris 2.7, building Emacs with WorkShop Compilers 5.0 98/12/15 | ||
| 184 | C 5.0 failed, apparently with non-default CFLAGS, most probably due to | ||
| 185 | compiler bugs. Using Sun Solaris 2.7 Sun WorkShop 6 update 1 C | ||
| 186 | release was reported to work without problems. It worked OK on | ||
| 187 | another system with Solaris 8 using apparently the same 5.0 compiler | ||
| 188 | and the default CFLAGS. | ||
| 189 | |||
| 190 | Emacs 21.1 and 21.2 built with Sun's ProWorks PC3.0.1 compiler on | ||
| 191 | Intel/Solaris 8 was reported to abort and dump core during startup. | ||
| 192 | Using GCC or a newer SUN compiler (Sun WokShop 6 update 2 C 5.3 | ||
| 193 | 2001/05/15) solves the problem. | ||
| 194 | |||
| 195 | Emacs 20.5 and later work on SPARC GNU/Linux with the 32-bit ABI. | ||
| 196 | As of release 2.95, GCC doesn't work properly with the 64-bit ABI | ||
| 197 | (applicable on UltraSPARC), but that isn't the default mode. | ||
| 198 | |||
| 199 | There are reports that using SunSoft cc with -xO4 -xdepend produces | ||
| 200 | bad code for some part of Emacs. | ||
| 201 | |||
| 202 | Some people report that Emacs crashes immediately on startup when | ||
| 203 | used with a non-X terminal, but we think this is due to compiling | ||
| 204 | with GCC and failing to use GCC's "fixed" system header files. | ||
| 205 | |||
| 206 | Some Sun versions of X windows use the clipboard, not the selections, | ||
| 207 | for transferring text between clients. The Cut, Paste and Copy items | ||
| 208 | in the menu bar Edit menu work with the clipboard. | ||
| 209 | |||
| 210 | If you compile with Sun's ANSI compiler acc, you need additional options | ||
| 211 | when linking temacs, such as | ||
| 212 | /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1 | ||
| 213 | (those should be added just before the libraries) and you need to | ||
| 214 | add -lansi just before -lc. The precise file names depend on the | ||
| 215 | compiler version, so we cannot easily arrange to supply them. | ||
| 216 | |||
| 217 | On Solaris 2, you need to install patch 100947-02 to fix a system bug. | ||
| 218 | Presumably this patch comes from Sun. You must alter the definition of | ||
| 219 | LD_SWITCH_SYSTEM if your X11 libraries are not in /usr/openwin/lib. | ||
| 220 | You must make sure that /usr/ucblib is not in your LD_LIBRARY_PATH. | ||
| 221 | |||
| 222 | On Solaris, do not use /usr/ucb/cc. Use /opt/SUNWspro/bin/cc. Make | ||
| 223 | sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before | ||
| 224 | /usr/ucb. (Most free software packages have the same requirement on | ||
| 225 | Solaris.) With this compiler, use `/opt/SUNWspro/bin/cc -E' as the | ||
| 226 | preprocessor. If this inserts extra whitespace into its output (see | ||
| 227 | the PROBLEMS file) then add the option `-Xs'. | ||
| 228 | |||
| 229 | If you have trouble using open-network-stream, get the distribution | ||
| 230 | of `bind' (the BSD name-server), build libresolv.a, and link Emacs | ||
| 231 | with -lresolv, by editing LIBRESOLV in src/Makefile. This problem is | ||
| 232 | due to obsolete software in the nonshared standard library. | ||
| 233 | |||
| 234 | Note that Emacs on a Sun is not really as big as it looks. As | ||
| 235 | dumped, it includes around 200k of zeros between the original text | ||
| 236 | section and the original data section (now remapped as part of the | ||
| 237 | text). These are never swapped in. | ||
| 238 | |||
| 239 | ** SuperH (sh[34]*-*-linux-gnu) | ||
| 240 | |||
| 241 | Emacs 23.0.60 was reported to work on GNU/Linux (October 2008). | ||
| 242 | Tested on a little-endian sh4 system (cpu type SH7751R) running | ||
| 243 | Gentoo Linux 2008.0. | ||
| 244 | |||
| 245 | * Here are notes about some of the systems supported: | 31 | * Here are notes about some of the systems supported: |
| 246 | 32 | ||
| 247 | ** Linux (actually GNU/Linux) | 33 | ** GNU/Linux |
| 248 | 34 | ||
| 249 | Most of the complete systems which use the Linux kernel are close | 35 | Most of the complete systems which use the Linux kernel are close |
| 250 | enough to the GNU system to be considered variant GNU systems. We | 36 | enough to the GNU system to be considered variant GNU systems. We |
| @@ -263,31 +49,63 @@ the list at the end of this file. | |||
| 263 | people to write more free software. See the file LINUX-GNU in this | 49 | people to write more free software. See the file LINUX-GNU in this |
| 264 | directory for more explanation. | 50 | directory for more explanation. |
| 265 | 51 | ||
| 52 | *** 64-bit GNU/Linux | ||
| 53 | |||
| 54 | No special procedures should be needed to build a 64-bit Emacs on a | ||
| 55 | 64-bit GNU/Linux system. To build a 32-bit Emacs, first ensure that | ||
| 56 | the necessary 32-bit system libraries and include files are | ||
| 57 | installed. Then use: | ||
| 58 | |||
| 59 | ./configure CC='gcc -m32' --build=i386-linux-gnu \ | ||
| 60 | --x-libraries=/usr/X11R6/lib | ||
| 61 | |||
| 62 | (using the location of the 32-bit X libraries on your system). | ||
| 63 | |||
| 64 | *** IBM System/390 running GNU/Linux (s390-*-linux-gnu) | ||
| 65 | |||
| 66 | As of Emacs 21.2, a 31-bit only version is supported on this system. | ||
| 67 | |||
| 68 | *** SuperH (sh[34]*-*-linux-gnu) | ||
| 69 | |||
| 70 | Emacs 23.0.60 was reported to work on GNU/Linux (October 2008). | ||
| 71 | This was tested on a little-endian sh4 system (cpu type SH7751R) running | ||
| 72 | Gentoo Linux 2008.0. | ||
| 73 | |||
| 266 | ** Mac OS X | 74 | ** Mac OS X |
| 267 | 75 | ||
| 268 | For installation instructions see the file nextstep/INSTALL. | 76 | For installation instructions see the file nextstep/INSTALL. |
| 269 | 77 | ||
| 270 | ** MSDOS | 78 | ** Microsoft Windows |
| 271 | 79 | ||
| 272 | For installation on MSDOS, see the file msdos/INSTALL. | 80 | For installation instructions see the file nt/INSTALL. |
| 81 | |||
| 82 | ** MS-DOS | ||
| 83 | |||
| 84 | For installation instructions see the file msdos/INSTALL. | ||
| 273 | See the "MS-DOS" chapter of the manual for information about using | 85 | See the "MS-DOS" chapter of the manual for information about using |
| 274 | Emacs on MSDOS. | 86 | Emacs on MS-DOS. |
| 275 | 87 | ||
| 276 | ** MS-Windows NT/95/98/ME/2000 | 88 | ** Solaris |
| 277 | 89 | ||
| 278 | For installation on all versions of the MS-Windows platform, see the | 90 | On Solaris it is also possible to use either GCC or Solaris Studio |
| 279 | file nt/INSTALL. | 91 | to build Emacs, by pointing ./configure to the right compiler: |
| 280 | 92 | ||
| 281 | ** X86_64 GNU/Linux | 93 | ./configure CC='/usr/sfw/bin/gcc' # GCC |
| 94 | ./configure CC='cc' # Solaris Studio | ||
| 282 | 95 | ||
| 283 | No special procedures should be needed to build a 64-bit Emacs. To | 96 | On Solaris, do not use /usr/ucb/cc. Use /opt/SUNWspro/bin/cc. Make |
| 284 | build a 32-bit Emacs, first ensure that the necessary 32-bit system | 97 | sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before |
| 285 | libraries and include files are installed. Then use: | 98 | /usr/ucb. (Most free software packages have the same requirement on |
| 99 | Solaris.) With this compiler, use `/opt/SUNWspro/bin/cc -E' as the | ||
| 100 | preprocessor. If this inserts extra whitespace into its output (see | ||
| 101 | the PROBLEMS file) then add the option `-Xs'. | ||
| 286 | 102 | ||
| 287 | env CC="gcc -m32" ./configure --build=i386-linux-gnu \ | 103 | To build a 64-bit Emacs (with larger maximum buffer size) on a |
| 288 | --x-libraries=/usr/X11R6/lib | 104 | Solaris system which supports 64-bit executables, specify the -m64 |
| 105 | compiler option. For example: | ||
| 289 | 106 | ||
| 290 | (using the location of the 32-bit X libraries on your system). | 107 | ./configure CC='/usr/sfw/bin/gcc -m64' # GCC |
| 108 | ./configure CC='cc -m64' # Solaris Studio | ||
| 291 | 109 | ||
| 292 | 110 | ||
| 293 | * Obsolete platforms | 111 | * Obsolete platforms |