aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2013-06-03 19:55:37 +0300
committerEli Zaretskii2013-06-03 19:55:37 +0300
commit22bcd514bc7f1cca2119dc67c8387608a295ee4d (patch)
tree8a821e24ef9a0e5896ffb715a8c918d945434b63
parentbbcc4d97447a8a138c65bc94f800c0165f556610 (diff)
downloademacs-22bcd514bc7f1cca2119dc67c8387608a295ee4d.tar.gz
emacs-22bcd514bc7f1cca2119dc67c8387608a295ee4d.zip
Update instructions in nt/INSTALL.MSYS.
-rw-r--r--nt/INSTALL.MSYS40
1 files changed, 26 insertions, 14 deletions
diff --git a/nt/INSTALL.MSYS b/nt/INSTALL.MSYS
index 358d5db7925..56eb54c948c 100644
--- a/nt/INSTALL.MSYS
+++ b/nt/INSTALL.MSYS
@@ -52,7 +52,7 @@ Windows 9X as well).
52 You can pass other options to the configure script. Here's a 52 You can pass other options to the configure script. Here's a
53 typical example (for an in-place debug build): 53 typical example (for an in-place debug build):
54 54
55 CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' ./nt/msysconfig.sh --prefix=d:/usr/emacs --enable-checking 55 CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' ./nt/msysconfig.sh --prefix=/d/usr/emacs --enable-checking
56 56
57 3. After the configure script finishes, it should display the 57 3. After the configure script finishes, it should display the
58 resulting configuration. After that, type 58 resulting configuration. After that, type
@@ -244,7 +244,11 @@ Windows 9X as well).
244 These are snapshot builds of many packages, but you only need 244 These are snapshot builds of many packages, but you only need
245 make.exe from there. The advantage of this make.exe is that it 245 make.exe from there. The advantage of this make.exe is that it
246 supports parallel builds, so you can use "make -j N" to considerably 246 supports parallel builds, so you can use "make -j N" to considerably
247 speed up your builds 247 speed up your builds.
248
249 Several users reported that MSYS 1.0.18 causes Make to hang in
250 parallel builds. If you bump into this, we suggest to downgrade to
251 MSYS 1.0.17, which doesn't have that problem.
248 252
249 For each of these packages, install the 'bin' and 'dll' tarballs of 253 For each of these packages, install the 'bin' and 'dll' tarballs of
250 their latest stable releases. If there's an 'ext' tarball (e.g., 254 their latest stable releases. If there's an 'ext' tarball (e.g.,
@@ -325,7 +329,7 @@ Windows 9X as well).
325 ./nt/msysconfig.sh --prefix=PREFIX ... 329 ./nt/msysconfig.sh --prefix=PREFIX ...
326 330
327 Here PREFIX is the place where you eventually want to install Emacs 331 Here PREFIX is the place where you eventually want to install Emacs
328 once built, e.g. d:/usr. We recommend to always use --prefix when 332 once built, e.g. /d/usr. We recommend to always use --prefix when
329 building Emacs on Windows, because the default '/usr/local' is not 333 building Emacs on Windows, because the default '/usr/local' is not
330 appropriate for Windows: it will be mapped by MSYS to something like 334 appropriate for Windows: it will be mapped by MSYS to something like
331 C:\MSYS\local, and it will defeat the purpose of PREFIX, which is to 335 C:\MSYS\local, and it will defeat the purpose of PREFIX, which is to
@@ -337,6 +341,13 @@ Windows 9X as well).
337 Emacs build process cannot guess, because usually there's no 341 Emacs build process cannot guess, because usually there's no
338 '/usr/local' directory on any drive on Windows systems. 342 '/usr/local' directory on any drive on Windows systems.
339 343
344 Do NOT use Windows-style x:/foo/bar file names on the configure
345 script command line; use the MSYS-style /x/foo/bar instead. Using
346 Windows-style file names was reported to cause subtle and hard to
347 figure out problems during the build. This applies both to
348 --prefix= switch and the absolute file name of msysconfig.sh, if you
349 are building outside of the source tree.
350
340 You can pass additional options to the configure script, for the 351 You can pass additional options to the configure script, for the
341 full list type 352 full list type
342 353
@@ -353,7 +364,7 @@ Windows 9X as well).
353 headers in C:\emacs\libs\jpeg-6b-4-lib\include, you will need to say 364 headers in C:\emacs\libs\jpeg-6b-4-lib\include, you will need to say
354 something like this: 365 something like this:
355 366
356 CPPFLAGS='-Ic:/emacs/libs/libpng-1.2.37-lib/include -Ic:/emacs/libs/jpeg-6b-4-lib/include' ./nt/msysconfig.sh --prefix=PREFIX 367 CPPFLAGS='-I/c/emacs/libs/libpng-1.2.37-lib/include -I/c/emacs/libs/jpeg-6b-4-lib/include' ./nt/msysconfig.sh --prefix=PREFIX
357 368
358 which is quite a mouth-full, especially if you have more directories 369 which is quite a mouth-full, especially if you have more directories
359 to specify... Perhaps you may wish to revisit your installation 370 to specify... Perhaps you may wish to revisit your installation
@@ -418,10 +429,11 @@ Windows 9X as well).
418 429
419 This is simple: just type "make" and sit back, watching the fun. 430 This is simple: just type "make" and sit back, watching the fun.
420 431
421 If you installed a snapshot build of Make, the build will be much 432 If you installed a snapshot build of Make, the build will be much
422 faster if you type "make -j N" instead, where N is the number of 433 faster if you type "make -j N" instead, where N is the number of
423 independent processing units on your machine. E.g., on a core i7 434 independent processing units on your machine. E.g., on a core i7
424 system try using N of 6 or even 8. 435 system try using N of 6 or even 8. (If this hangs, see the notes
436 above about downgrading to MSYS 1.0.17.)
425 437
426 When Make finishes, you can install the produced binaries: 438 When Make finishes, you can install the produced binaries:
427 439
@@ -520,12 +532,12 @@ Windows 9X as well).
520 compatible (for example, that they were built with the same compiler). 532 compatible (for example, that they were built with the same compiler).
521 533
522 Binaries for the image libraries (among many others) can be found at 534 Binaries for the image libraries (among many others) can be found at
523 the GnuWin32 project. PNG, JPEG and TIFF libraries are also 535 the GnuWin32 project. The PNG libraries are also included with GTK,
524 included with GTK, which is installed along with other Free Software 536 which is installed along with other Free Software that requires it.
525 that requires it. Note specifically that, due to some packaging 537 Note specifically that, due to some packaging snafus in the
526 snafus in the GnuWin32-supplied image libraries, you will need to 538 GnuWin32-supplied image libraries, you will need to download
527 download _source_ packages for some of the libraries in order to get 539 _source_ packages for some of the libraries in order to get the
528 the header files necessary for building Emacs with image support. 540 header files necessary for building Emacs with image support.
529 541
530 For PNG images, we recommend to use versions 1.4.x and later of 542 For PNG images, we recommend to use versions 1.4.x and later of
531 libpng, because previous versions had security issues. You can find 543 libpng, because previous versions had security issues. You can find