[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/MACHINES,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/etc/MACHINES,v |
Date: |
Sat, 20 Jan 2007 16:19:44 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 07/01/20 16:19:43
Index: MACHINES
===================================================================
RCS file: /cvsroot/emacs/emacs/etc/MACHINES,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- MACHINES 13 Jan 2007 02:25:32 -0000 1.24
+++ MACHINES 20 Jan 2007 16:19:43 -0000 1.25
@@ -1021,11 +1021,25 @@
sparc-sun-sunos4.1.3noshr, sparc-sun-solaris2.*,
i386-sun-solaris2.*, sparc*-*-linux-gnu)
+ To build a 32-bit Emacs (i.e. if you are having any sort of problem
+ bootstrapping a 64-bit version), you can use the Sun Studio compiler
+ and configure Emacs with:
+ env CC="cc -xarch=v7" CFLAGS='' ./configure # on SPARC systems
+ env CC="cc -xarch=386" CFLAGS='' ./configure # on x86 systems
+ On Solaris 2.10, it is also possible to use /usr/sfw/bin/gcc to build
+ a 32-bit version of Emacs. Just make sure you point ./configure to
+ the right compiler:
+
+ env CC='/usr/sfw/bin/gcc -m32' ./configure
+
To build a 64-bit Emacs (with larger maximum buffer size and
including large file support) on a Solaris system which supports
64-bit executables, use the Sun compiler, configuring something like
this (see the cc documentation for information on 64-bit
- compilation): env CC="cc -xarch=v9" ./configure
+ compilation):
+
+ env CC="cc -xarch=v9" CFLAGS='' ./configure # on SPARC systems
+ env CC="cc -xarch=amd64" CFLAGS='' ./configure # on x86 systems
As of version 2.95, GCC doesn't support the 64-bit ABI properly, but
later releases may.