comparison nt/INSTALL @ 74820:e50355d072ce

Explain how to invoke GNU Make for parallel builds.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 22 Dec 2006 22:15:41 +0000
parents f4d7960fe496
children e89aaee63398
comparison
equal deleted inserted replaced
74819:264d896c17ba 74820:e50355d072ce
41 gnumake 41 gnumake
42 or 42 or
43 gmake 43 gmake
44 44
45 (If you are building from CVS, say "make bootstrap" or "nmake 45 (If you are building from CVS, say "make bootstrap" or "nmake
46 bootstrap" instead and avoid using Cygwin make.) 46 bootstrap" instead, and avoid using Cygwin make.)
47
48 With GNU Make, you can use the -j command-line option to have
49 Make execute several commands at once, like this:
50
51 gmake -j 4 XMFLAGS="-j 3"
52
53 The XMFLAGS variable overrides the default behavior of GNU Make
54 on Windows, whereby recursive Make invocations reset the maximum
55 number of simultaneous commands to 1. The above command allows
56 up to 4 simultaneous commands at once in the top-level Make, and
57 up to 3 in each one of the recursive Make's.
47 58
48 4. Generate the Info manuals (only if you are building out of CVS, and 59 4. Generate the Info manuals (only if you are building out of CVS, and
49 if you have makeinfo.exe installed): 60 if you have makeinfo.exe installed):
50 61
51 make info 62 make info
250 declaring that some functions don't return a value, or that some data 261 declaring that some functions don't return a value, or that some data
251 conversions will be lossy, etc. You can safely ignore these messages. 262 conversions will be lossy, etc. You can safely ignore these messages.
252 The warnings may be fixed in the main FSF source at some point, but 263 The warnings may be fixed in the main FSF source at some point, but
253 until then we will just live with them. 264 until then we will just live with them.
254 265
266 With GNU Make, you can use the -j command-line option to have Make
267 execute several commands at once, like this:
268
269 gmake -j 4 XMFLAGS="-j 3"
270
271 The XMFLAGS variable overrides the default behavior of GNU Make on
272 Windows, whereby recursive Make invocations reset the maximum number
273 of simultaneous commands to 1. The above command allows up to 4
274 simultaneous commands at once in the top-level Make, and up to 3 in
275 each one of the recursive Make's; you can use other numbers of jobs,
276 if you wish.
277
255 If you are building from CVS, the following commands will produce 278 If you are building from CVS, the following commands will produce
256 the Info manuals (which are not part of the CVS repository): 279 the Info manuals (which are not part of the CVS repository):
257 280
258 make info 281 make info
259 or 282 or