changeset 75211:9cd33b55eebf

Add information on compiling 32-bit Emacs on 64-bit GNU/Linux. Update copyright for years post-Emacs 21 to present.
author Glenn Morris <rgm@gnu.org>
date Sat, 13 Jan 2007 02:25:58 +0000
parents ff67423f35be
children dbdc8c2aae7f
files etc/MACHINES etc/PROBLEMS
diffstat 2 files changed, 24 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/etc/MACHINES	Sat Jan 13 02:24:54 2007 +0000
+++ b/etc/MACHINES	Sat Jan 13 02:25:58 2007 +0000
@@ -1,7 +1,7 @@
 Emacs machines list
 
-Copyright (c) 1989, 1990, 1992, 1993, 1998, 2001, 2003, 2006
-Free software Foundation, Inc.
+Copyright (c) 1989, 1990, 1992, 1993, 1998, 2001, 2002, 2003, 2004,
+  2005, 2006, 2007  Free Software Foundation, Inc.
 See the end of the file for copying permissions.
 
 This is a list of the status of GNU Emacs on various machines and systems.
@@ -1458,6 +1458,17 @@
   For installation on all versions of the MS-Windows platform, see the
   file nt/INSTALL.
 
+X86_64 GNU/Linux
+
+  No special procedures should be needed to build a 64-bit Emacs.  To
+  build a 32-bit Emacs, first ensure that the necessary 32-bit system
+  libraries and include files are installed.  Then use:
+
+    env CC="gcc -m32" ./configure --build=i386-linux-gnu \
+      --x-libraries=/usr/X11R6/lib
+
+  (using the location of the 32-bit X libraries on your system).
+
 Xenix (xenix)
 
   Should work in 18.50, but you will need to edit the files
--- a/etc/PROBLEMS	Sat Jan 13 02:24:54 2007 +0000
+++ b/etc/PROBLEMS	Sat Jan 13 02:25:58 2007 +0000
@@ -2355,6 +2355,16 @@
 the problem, install the current version of GNU Sed, then rerun
 Emacs's configure script.
 
+*** Building a 32-bit executable on a 64-bit GNU/Linux architecture.
+
+First ensure that the necessary 32-bit system libraries and include
+files are installed. Then use:
+
+  env CC="gcc -m32" ./configure --build=i386-linux-gnu \
+    --x-libraries=/usr/X11R6/lib
+
+(using the location of the 32-bit X libraries on your system).
+
 *** Building the Cygwin port for MS-Windows can fail with some GCC version
 
 Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is
@@ -3687,7 +3697,7 @@
 
 
 Copyright 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+   2001, 2002, 2003, 2004, 2005, 2006, 2007  Free Software Foundation, Inc.
 
 Copying and redistribution of this file with or without modification
 are permitted without royalty provided this notice is preserved.