OLD | NEW |
1 | 1 |
2 Building XZ Utils on Windows | 2 Building XZ Utils on Windows |
3 ============================ | 3 ============================ |
4 | 4 |
5 Introduction | 5 Introduction |
6 ------------ | 6 ------------ |
7 | 7 |
8 This document explains shortly where to get and how to install the | 8 This document explains shortly where to get and how to install the |
9 build tool that are needed to build XZ Utils on Windows. The final | 9 build tool that are needed to build XZ Utils on Windows. The final |
10 binary package will be standalone in sense that it will depend only | 10 binary package will be standalone in sense that it will depend only |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 Start MSYS by going to the directory C:\devel\tools\msys and running | 111 Start MSYS by going to the directory C:\devel\tools\msys and running |
112 msys.bat there (double-click or use command prompt). It will start | 112 msys.bat there (double-click or use command prompt). It will start |
113 at "home" directory, which is C:\devel\tools\msys\home\YourUserName. | 113 at "home" directory, which is C:\devel\tools\msys\home\YourUserName. |
114 | 114 |
115 If you have xz-5.x.x.tar.gz in C:\devel, you should be able to build | 115 If you have xz-5.x.x.tar.gz in C:\devel, you should be able to build |
116 it now with the following commands: | 116 it now with the following commands: |
117 | 117 |
118 cd /c/devel | 118 cd /c/devel |
119 tar xzf xz-5.x.x.tar.gz | 119 tar xzf xz-5.x.x.tar.gz |
120 cd xz-5.x.x | 120 cd xz-5.x.x |
121 sh windows/build.sh | 121 bash windows/build.bash |
122 | 122 |
123 If you used some other directory than C:\devel\tools for the build | 123 If you used some other directory than C:\devel\tools for the build |
124 tools, edit the variables near the beginning of build.sh first. | 124 tools, edit the variables near the beginning of build.bash first. |
125 | 125 |
126 If you want to build manually, read the buildit() function in | 126 If you want to build manually, read the buildit() function in |
127 build.sh. Look especially at the latter configure invocation. | 127 build.bash. Look especially at the latter configure invocation. |
128 | 128 |
129 Be patient. Running configure and other scripts used by the build | 129 Be patient. Running configure and other scripts used by the build |
130 system is (very) slow under Windows. | 130 system is (very) slow under Windows. |
131 | 131 |
| 132 |
| 133 Using a snapshot from the Git repository |
| 134 |
| 135 To use a snapshot, the build system files need to be generated with |
| 136 autogen.sh or "autoreconf -fi" before trying to build using the |
| 137 above build instructions. You can install the relevant extra packages |
| 138 from MinGW or use Cygwin or use e.g. a GNU/Linux system to create a |
| 139 source package with the required build system files. |
| 140 |
OLD | NEW |