comparison src/INSTALLmac.txt @ 574:25a70b1cd2da

updated for version 7.0163
author vimboss
date Tue, 06 Dec 2005 19:59:18 +0000
parents 3fc0f57ecb91
children 4b8583e82cb8
comparison
equal deleted inserted replaced
573:c85bf6a4999b 574:25a70b1cd2da
13 13
14 1 MacOS X 14 1 MacOS X
15 1.1. Carbon interface 15 1.1. Carbon interface
16 1.2. X (Athena, GTK, Motif) or plain text. 16 1.2. X (Athena, GTK, Motif) or plain text.
17 17
18 2 MacOS Classic 18 MacOS Classic is no longer supported. If you really want it use Vim 6.4.
19 2.1. CodeWarrior
20 2.2. MPW
21
22 NOTE: The Carbon version can only be compiled properly under
23 MacOS X.
24 19
25 ---------------------------------------------------------------------------- 20 ----------------------------------------------------------------------------
26 1 MacOS X 21 1 MacOS X
27 ---------------------------------------------------------------------------- 22 ----------------------------------------------------------------------------
28 23
55 gtk, gtk2, gnome, gnome2, 50 gtk, gtk2, gnome, gnome2,
56 51
57 NOTE: You need to first install XFree86 and XDarwin. 52 NOTE: You need to first install XFree86 and XDarwin.
58 Please visit http://www.XDarwin.org 53 Please visit http://www.XDarwin.org
59 54
60 ----------------------------------------------------------------------------
61 MacOS 9
62 ----------------------------------------------------------------------------
63
64 Both ':' and '/' supported as path separator.
65
66 2.1: Compiling with CodeWarior
67
68 1. Expand the resource file:
69 open ../src/os_mac.rsr.hqx to produce ../src/gui_mac.rsrc:
70 % cd vim62/src
71 % open -a StuffIt\ Expander os_mac.rsr.hqx
72
73 2. Expand the project file:
74 - ../src/os_mac.sit.hqx (to produce ../src/vim.mcp)
75
76 3. Open vim.mcp with CodeWarior
77
78 This is a CodeWarior 9 project file. When using a newer version,
79 you need to convert the file. you may also need to change some
80 access path.
81
82 NOTE: the current project file is old, you need to add a few files:
83 (ex_cmds2.c, fold.c, mbyte.c, move.c)
84
85 4. Select the target PPC, 68k FAT (with/without debugger)
86
87 5. Compile
88
89 2.2: Compiling with MPW.
90
91 0. You will need a recent version of the MPW and the Universal Interfaces.
92 You can get both at:
93 ftp://ftp.apple.com/developer/Tool_Chest/Interfaces-Libraries/
94 ftp://ftp.apple.com/developer/Tool_Chest/Core_Mac_OS_Tools/
95 For a Carbon version you will need a recent Carbon SDK as well.
96 (When you have an older version already installed you not be able to
97 compile a carbon version. Update "CreateMake" which is available at
98 Apple.
99
100 1. Expand the resource file:
101 open ../src/os_mac.rsr.hqx to produce ../src/gui_mac.rsrc:
102 % cd vim62/src
103 % open -a StuffIt\ Expander os_mac.rsr.hqx
104
105 3. Double click on os_make.make, the MPW will now open in the correct
106 folder and load the CreateVimMake script. Change to the Worksheet
107 window. Type "os_mac.build" and hit Enter (not Return). A dialog box
108 will appear. Select the target you want. (Vim-68k, Vim-ppc, Vim-carbon)
109
110 4. Select "Build" from the menu (or type command-B). Type the program name
111 into the dialog box.
112
113 ------------------------------------------------------ 55 ------------------------------------------------------
114
115 OLD FILE: SOME INFO MAY STILL BE USEFUL
116
117 NOTE: Users of more recent CodeWarrior version may have to reset the library
118 path, and change the mch_delay in os_mac.c so the finalTick is unsigned.
119
120 Compilation instructions:
121
122 1. Visit the Vim ftp site (see ftp://ftp.vim.org/pub/vim/MIRRORS)
123 and obtain the following five files:
124
125 unix/vim-X.X-src1.tar.gz
126 unix/vim-X.X-src2.tar.gz
127 unix/vim-X.X-rt1.tar.gz
128 unix/vim-X.X-rt2.tar.gz
129 extra/vim-X.X-extra.tar.gz
130
131 where X.X is the version number.
132
133 NOTE: the language support is not yet supported
134
135 2. Expand the archives.
136
137 3. Apply patches if they exist. (Patch files are found in the ftp
138 site in the "patches" directory.)
139
140 4. Edit vim-X.X/src/feature.h for your preference. (You can skip
141 this, then you will get the default behavior as is documented,
142 which should be fine for most people.)
143
144 For example, if you want to add the FEAT_MBYTE feature, turn on
145 #define FEAT_MBYTE
146
147 5. Expand the resource file:
148
149 - vim-X.X/src/os_mac.rsr.hqx (to produce vim-X.X/src/gui_mac.rsrc)
150
151 6. If using CodeWarrior, expand the project file:
152
153 - vim-X.X/src/os_mac.sit.hqx (to produce vim-X.X/src/vim.mcp)
154
155 The latter file is the CodeWarrior project file to be used.
156
157 7. Launch CodeWarrior by double clicking vim.mcp.
158
159 8. Check additional files if you include non-standard features.
160
161 For example, if you added the MULTI_BYTE feature, check
162 Extras/mbyte.c in the project window.
163
164 9. Compile and you will obtain binaries: vimPPC, Vim 68k, and/or vimFAT.