diff options
| author | Eli Zaretskii | 2013-05-25 10:34:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-05-25 10:34:34 +0300 |
| commit | 9e34b514e77ada6ff7981ded3996486964c519bf (patch) | |
| tree | 3a004c9b3ea8b43c7a532fea218be9fedbdd1561 | |
| parent | a052ef3bef1bc3e461cceeb3d6ed66cababa2449 (diff) | |
| download | emacs-9e34b514e77ada6ff7981ded3996486964c519bf.tar.gz emacs-9e34b514e77ada6ff7981ded3996486964c519bf.zip | |
Explain in nt/INSTALL.MSYS why --prefix should be used with Windows builds.
| -rw-r--r-- | nt/INSTALL.MSYS | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/nt/INSTALL.MSYS b/nt/INSTALL.MSYS index 0c67c20e842..3fb8c1d5321 100644 --- a/nt/INSTALL.MSYS +++ b/nt/INSTALL.MSYS | |||
| @@ -46,7 +46,8 @@ Windows 9X as well). | |||
| 46 | 46 | ||
| 47 | It is always preferable to use --prefix to configure Emacs for | 47 | It is always preferable to use --prefix to configure Emacs for |
| 48 | some specific location of its installed tree; the default | 48 | some specific location of its installed tree; the default |
| 49 | /usr/local is not suitable for Windows. | 49 | /usr/local is not suitable for Windows (see the detailed |
| 50 | instructions for the reasons). | ||
| 50 | 51 | ||
| 51 | 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 |
| 52 | typical example (for an in-place debug build): | 53 | typical example (for an in-place debug build): |
| @@ -324,7 +325,17 @@ Windows 9X as well). | |||
| 324 | ./nt/msysconfig.sh --prefix=PREFIX ... | 325 | ./nt/msysconfig.sh --prefix=PREFIX ... |
| 325 | 326 | ||
| 326 | Here PREFIX is the place where you eventually want to install Emacs | 327 | Here PREFIX is the place where you eventually want to install Emacs |
| 327 | once built, e.g. d:/usr. | 328 | 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 | ||
| 330 | 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 | ||
| 332 | install programs in a single coherent tree resembling Posix systems. | ||
| 333 | Such a single-tree installation makes sure all the other programs | ||
| 334 | and packages ported from GNU or Unix systems will work seemlessly | ||
| 335 | together. Where exactly is the root of that tree on your system is | ||
| 336 | soimething only you, the user who builds Emacs, can know, and the | ||
| 337 | Emacs build process cannot guess, because usually there's no | ||
| 338 | '/usr/local' directory on any drive on Windows systems. | ||
| 328 | 339 | ||
| 329 | You can pass additional options to the configure script, for the | 340 | You can pass additional options to the configure script, for the |
| 330 | full list type | 341 | full list type |