diff options
| author | YAMAMOTO Mitsuharu | 2005-10-24 00:53:00 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-10-24 00:53:00 +0000 |
| commit | 0a1bb12333835d0ca88a002ca714315952b27065 (patch) | |
| tree | a9ce5df9d8b19aee9d8237fa1af8d84e65432f7a /mac | |
| parent | 1df6425458e255f775a7e32588dffa15dc6ea036 (diff) | |
| download | emacs-0a1bb12333835d0ca88a002ca714315952b27065.tar.gz emacs-0a1bb12333835d0ca88a002ca714315952b27065.zip | |
Replace `Mac OS 8/9' with `Mac OS Classic'. Add
`FIXME' to descriptions about Metrowerks CodeWarrior. Remove
obsolete description about 512MB limit and icon on Mac OS Classic.
Add description about flags for experimental features.
Diffstat (limited to 'mac')
| -rw-r--r-- | mac/INSTALL | 60 |
1 files changed, 32 insertions, 28 deletions
diff --git a/mac/INSTALL b/mac/INSTALL index 63f08b556a5..9162ae6f08b 100644 --- a/mac/INSTALL +++ b/mac/INSTALL | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | * BUILDING EMACS ON MAC OS 8/9 AND MAC OS X -*- outline -*- | 1 | * BUILDING EMACS ON MAC OS Classic AND MAC OS X -*- outline -*- |
| 2 | 2 | ||
| 3 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -157,10 +157,11 @@ options to user | |||
| 157 | 157 | ||
| 158 | For usage of other options, use the --help option. | 158 | For usage of other options, use the --help option. |
| 159 | 159 | ||
| 160 | * BUILDING EMACS ON MAC OS 8/9 | 160 | * BUILDING EMACS ON MAC OS Classic |
| 161 | 161 | ||
| 162 | You can use either Metrowerks CodeWarrior Pro 6 or MPW-GM (Aug. 2001) | 162 | FIXME: You can use either Metrowerks CodeWarrior Pro 6 or MPW-GM |
| 163 | to build Emacs. MPW-GM can be downloaded free of charge from Apple. | 163 | (Aug. 2001) to build Emacs. MPW-GM can be downloaded free of charge |
| 164 | from Apple. | ||
| 164 | 165 | ||
| 165 | In either case, you will need MPW-GM to build the make-docfile utility | 166 | In either case, you will need MPW-GM to build the make-docfile utility |
| 166 | and to generate the doc string file DOC. | 167 | and to generate the doc string file DOC. |
| @@ -170,14 +171,14 @@ the distribution. However, you *must* set the radio button in the | |||
| 170 | Preferences->Cross Platform->Convert text files to Macintosh format to | 171 | Preferences->Cross Platform->Convert text files to Macintosh format to |
| 171 | "Never". Otherwise the compiled Lisp files will be corrupted. | 172 | "Never". Otherwise the compiled Lisp files will be corrupted. |
| 172 | 173 | ||
| 173 | (Optional) A subset of the fonts from the GNU intlfonts-1.2 | 174 | FIXME: (Optional) A subset of the fonts from the GNU intlfonts-1.2 |
| 174 | distribution converted to NFNT format can be obtained from | 175 | distribution converted to NFNT format can be obtained from |
| 175 | 176 | ||
| 176 | ftp://mac-emacs.sourceforge.net/pub/mac-emacs/GNU-fonts.smi.bin | 177 | ftp://mac-emacs.sourceforge.net/pub/mac-emacs/GNU-fonts.smi.bin |
| 177 | 178 | ||
| 178 | To build Emacs in the MPW Shell, simply set the directory to | 179 | To build Emacs in the MPW Shell, simply set the directory to |
| 179 | ...:emacs:mac: and build the target Emacs of the make file | 180 | ...:emacs:mac: and build the target Emacs of the make file |
| 180 | makefile.mpw. I.e., execute the commands | 181 | makefile.MPW. I.e., execute the commands |
| 181 | 182 | ||
| 182 | make Emacs -f makefile.MPW > Emacs.MakeScript | 183 | make Emacs -f makefile.MPW > Emacs.MakeScript |
| 183 | Emacs.MakeScript | 184 | Emacs.MakeScript |
| @@ -186,47 +187,38 @@ The above commands create an executable that uses the Carbon API. The | |||
| 186 | non-Carbon version can also be created by replacing all the | 187 | non-Carbon version can also be created by replacing all the |
| 187 | occurrences of `Emacs' above with `NonCarbon'. Not that the | 188 | occurrences of `Emacs' above with `NonCarbon'. Not that the |
| 188 | non-Carbon version does not support some features such as file | 189 | non-Carbon version does not support some features such as file |
| 189 | dialogs, drag-and-drop, and unicode menus. | 190 | dialogs, drag-and-drop, and Unicode menus. |
| 190 | 191 | ||
| 191 | To build Emacs using CodeWarrior, start up the CodeWarrior IDE, choose | 192 | FIXME: To build Emacs using CodeWarrior, start up the CodeWarrior IDE, |
| 192 | File->Import Project... and select the file cw6-mcp.xml. When | 193 | choose File->Import Project... and select the file cw6-mcp.xml. When |
| 193 | prompted to save the project, navigate to same directory as the file | 194 | prompted to save the project, navigate to same directory as the file |
| 194 | cw6-mcp.xml, name the project emacs-cw6.mcp, and save it there. Then | 195 | cw6-mcp.xml, name the project emacs-cw6.mcp, and save it there. Then |
| 195 | choose Project->Make. Note that this does not build the DOC file. To | 196 | choose Project->Make. Note that this does not build the DOC file. To |
| 196 | do so, use MPW and build the target "Doc" in makefile.MPW. | 197 | do so, use MPW and build the target "Doc" in makefile.MPW. |
| 197 | 198 | ||
| 198 | Once built, the Emacs application (Emacs CW or Emacs MPW) can be | 199 | FIXME: Once built, the Emacs application (Emacs CW or Emacs MPW) can |
| 199 | launched where it is created. | 200 | be launched where it is created. |
| 200 | 201 | ||
| 201 | To build an optimized version of Emacs in CodeWarrior, change the | 202 | FIXME: To build an optimized version of Emacs in CodeWarrior, change |
| 202 | value in the Emacs Settings->Code Generation->Global Optimization | 203 | the value in the Emacs Settings->Code Generation->Global Optimization |
| 203 | dialog. To build a version for profiling, check the Profiler | 204 | dialog. To build a version for profiling, check the Profiler |
| 204 | Information box in the Emacs Settings->Code Generation->PPC Processor | 205 | Information box in the Emacs Settings->Code Generation->PPC Processor |
| 205 | dialog and include the Profiler PPC.Lib library. | 206 | dialog and include the Profiler PPC.Lib library. |
| 206 | 207 | ||
| 207 | * NOTES | 208 | * NOTES |
| 208 | 209 | ||
| 209 | Emacs should build and run on a PowerMac running Mac OS 8.6 - 10.4. | 210 | Emacs should build and run on a PowerMac running Mac OS 8.6 - 9.2 (but |
| 211 | only tested on 9.2.2), and Mac OS X 10.1 - 10.4. | ||
| 210 | 212 | ||
| 211 | You will need around 100 MB of disk space for the source files and | 213 | You will need around 100 MB of disk space for the source files and |
| 212 | intermediate files. | 214 | intermediate files. |
| 213 | 215 | ||
| 214 | It will not run on machines running Mac OS 8/9 with more than 512 MB | 216 | Under Mac OS Classic, there is no support for building the LEIM |
| 215 | of physical or virtual memory. It does not have this restriction when | 217 | directory. However, it can be built on Mac OS X or another platform |
| 216 | it is run under Mac OS X. But the usual 128MB buffer limit of a | 218 | and transferred to the Mac. |
| 217 | 32-bit Emacs still exists. | ||
| 218 | |||
| 219 | Under Mac OS 8/9, there is no support for building the LEIM directory. | ||
| 220 | However, it can be built on Mac OS X or another platform and | ||
| 221 | transferred to the Mac. | ||
| 222 | |||
| 223 | On Mac OS 8/9, to use the same icon as when Emacs is built on Windows | ||
| 224 | NT, define GNU_ICON in mac/src/Emacs.r. Currently Emacs uses a | ||
| 225 | generic application icon on the Mac OS X. A better looking one is | ||
| 226 | coming soon. | ||
| 227 | 219 | ||
| 228 | On Mac OS X, installing the emacs files in /usr can cause issues with | 220 | On Mac OS X, installing the emacs files in /usr can cause issues with |
| 229 | system sofware updates possibly overwriting the distribution. If this | 221 | system software updates possibly overwriting the distribution. If this |
| 230 | is a concern, as it should be in normal binary distributions, please | 222 | is a concern, as it should be in normal binary distributions, please |
| 231 | use /usr/local as the prefix for installation. | 223 | use /usr/local as the prefix for installation. |
| 232 | 224 | ||
| @@ -237,4 +229,16 @@ architectures. In addition, Rosetta doesn't appear to work correctly | |||
| 237 | with PowerPC builds of Emacs; you will have to recompile for Intel. | 229 | with PowerPC builds of Emacs; you will have to recompile for Intel. |
| 238 | Therefore, builds of Emacs are architecture specific. | 230 | Therefore, builds of Emacs are architecture specific. |
| 239 | 231 | ||
| 232 | There are some compile-time flags that enable experimental features. | ||
| 233 | Please use them at your own risk after reading the corresponding | ||
| 234 | threads in the emacs-devel@gnu.org archive. | ||
| 235 | |||
| 236 | USE_ATSUI: Enable ATSUI (Apple Type Services for Unicode Imaging) | ||
| 237 | support. Available on Mac OS 9/Carbon and Mac OS X. | ||
| 238 | http://lists.gnu.org/archive/html/emacs-devel/2005-10/msg00005.html | ||
| 239 | |||
| 240 | SELECT_USE_CFSOCKET: Avoid polling in sys_select (in src/mac.c). | ||
| 241 | Available on Mac OS X. | ||
| 242 | http://lists.gnu.org/archive/html/emacs-devel/2004-12/msg00789.html | ||
| 243 | |||
| 240 | Enjoy! | 244 | Enjoy! |