diff options
Diffstat (limited to 'etc/MACHINES')
| -rw-r--r-- | etc/MACHINES | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/etc/MACHINES b/etc/MACHINES index 1bb244b49b0..78e9cef0fd7 100644 --- a/etc/MACHINES +++ b/etc/MACHINES | |||
| @@ -81,25 +81,26 @@ the list at the end of this file. | |||
| 81 | 81 | ||
| 82 | ** Solaris | 82 | ** Solaris |
| 83 | 83 | ||
| 84 | On Solaris it is also possible to use either GCC or Solaris Studio | 84 | On Solaris it is also possible to use either GCC or Oracle Developer |
| 85 | to build Emacs, by pointing ./configure to the right compiler: | 85 | Studio to build Emacs, by pointing ./configure to the right compiler: |
| 86 | 86 | ||
| 87 | ./configure CC='/usr/sfw/bin/gcc' # GCC | 87 | ./configure # Defaults to 'gcc' if available. |
| 88 | ./configure CC='cc' # Solaris Studio | 88 | ./configure CC='cc' # Oracle Developer Studio |
| 89 | 89 | ||
| 90 | On Solaris, do not use /usr/ucb/cc. Use /opt/SUNWspro/bin/cc. Make | 90 | On Solaris, do not use /usr/ucb/cc. Use Oracle Developer Studio. |
| 91 | sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before | 91 | Make sure that /usr/ccs/bin and the Oracle Developer Studio bin |
| 92 | /usr/ucb. (Most free software packages have the same requirement on | 92 | directory (e.g., /opt/developerstudio12.6/bin) are in your PATH |
| 93 | Solaris.) With this compiler, use '/opt/SUNWspro/bin/cc -E' as the | 93 | before /usr/ucb. (Most free software packages have the same |
| 94 | requirement on Solaris.) With this compiler, use 'cc -E' as the | ||
| 94 | preprocessor. If this inserts extra whitespace into its output (see | 95 | preprocessor. If this inserts extra whitespace into its output (see |
| 95 | the PROBLEMS file) then add the option '-Xs'. | 96 | the PROBLEMS file), add the option '-Xs'. |
| 96 | 97 | ||
| 97 | To build a 64-bit Emacs (with larger maximum buffer size) on a | 98 | To build a 64-bit Emacs (with larger maximum buffer size) on a |
| 98 | Solaris system which supports 64-bit executables, specify the -m64 | 99 | Solaris system that defaults to 32-bit executables, specify the -m64 |
| 99 | compiler option. For example: | 100 | compiler option. For example: |
| 100 | 101 | ||
| 101 | ./configure CC='/usr/sfw/bin/gcc -m64' # GCC | 102 | ./configure CC='gcc -m64' # GCC |
| 102 | ./configure CC='cc -m64' # Solaris Studio | 103 | ./configure CC='cc -m64' # Oracle Developer Studio |
| 103 | 104 | ||
| 104 | 105 | ||
| 105 | * Obsolete platforms | 106 | * Obsolete platforms |