comparison etc/MACHINES @ 75305:205f53ebfa3e

Describe how 32-bit and 64-bit versions of Emacs can be compiled on Solaris systems.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 20 Jan 2007 16:19:43 +0000
parents 9cd33b55eebf
children 0259a1711394
comparison
equal deleted inserted replaced
75304:c8f5a9de4a5e 75305:205f53ebfa3e
1019 1019
1020 Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos, 1020 Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
1021 sparc-sun-sunos4.1.3noshr, sparc-sun-solaris2.*, 1021 sparc-sun-sunos4.1.3noshr, sparc-sun-solaris2.*,
1022 i386-sun-solaris2.*, sparc*-*-linux-gnu) 1022 i386-sun-solaris2.*, sparc*-*-linux-gnu)
1023 1023
1024 To build a 32-bit Emacs (i.e. if you are having any sort of problem
1025 bootstrapping a 64-bit version), you can use the Sun Studio compiler
1026 and configure Emacs with:
1027 env CC="cc -xarch=v7" CFLAGS='' ./configure # on SPARC systems
1028 env CC="cc -xarch=386" CFLAGS='' ./configure # on x86 systems
1029 On Solaris 2.10, it is also possible to use /usr/sfw/bin/gcc to build
1030 a 32-bit version of Emacs. Just make sure you point ./configure to
1031 the right compiler:
1032
1033 env CC='/usr/sfw/bin/gcc -m32' ./configure
1034
1024 To build a 64-bit Emacs (with larger maximum buffer size and 1035 To build a 64-bit Emacs (with larger maximum buffer size and
1025 including large file support) on a Solaris system which supports 1036 including large file support) on a Solaris system which supports
1026 64-bit executables, use the Sun compiler, configuring something like 1037 64-bit executables, use the Sun compiler, configuring something like
1027 this (see the cc documentation for information on 64-bit 1038 this (see the cc documentation for information on 64-bit
1028 compilation): env CC="cc -xarch=v9" ./configure 1039 compilation):
1040
1041 env CC="cc -xarch=v9" CFLAGS='' ./configure # on SPARC systems
1042 env CC="cc -xarch=amd64" CFLAGS='' ./configure # on x86 systems
1029 1043
1030 As of version 2.95, GCC doesn't support the 64-bit ABI properly, but 1044 As of version 2.95, GCC doesn't support the 64-bit ABI properly, but
1031 later releases may. 1045 later releases may.
1032 1046
1033 Some versions of Solaris 8 have a bug in their XIM (X Input Method) 1047 Some versions of Solaris 8 have a bug in their XIM (X Input Method)