Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5ebc76c9
Commit
5ebc76c9
authored
Jan 20, 2007
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Describe how 32-bit and 64-bit versions of Emacs can be compiled on Solaris
systems.
parent
350b4cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
etc/MACHINES
etc/MACHINES
+15
-1
No files found.
etc/MACHINES
View file @
5ebc76c9
...
@@ -1021,11 +1021,25 @@ Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
...
@@ -1021,11 +1021,25 @@ Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
sparc-sun-sunos4.1.3noshr, sparc-sun-solaris2.*,
sparc-sun-sunos4.1.3noshr, sparc-sun-solaris2.*,
i386-sun-solaris2.*, sparc*-*-linux-gnu)
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
To build a 64-bit Emacs (with larger maximum buffer size and
including large file support) on a Solaris system which supports
including large file support) on a Solaris system which supports
64-bit executables, use the Sun compiler, configuring something like
64-bit executables, use the Sun compiler, configuring something like
this (see the cc documentation for information on 64-bit
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
As of version 2.95, GCC doesn't support the 64-bit ABI properly, but
later releases may.
later releases may.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment