]> wimlib.net Git - wimlib/blobdiff - README.WINDOWS
encoding.c: avoid UBSAN warning in convert_string()
[wimlib] / README.WINDOWS
index 2c7fd9cda852a06faa5baa6f893a839971e087ca..14fc0d284e05e0de52ae92a3534de72c2e060892 100644 (file)
@@ -97,11 +97,11 @@ Cygwin.  The following instructions show the MSYS2 method.
 
 First, install MSYS2 by running the installer from https://www.msys2.org/.
 
-Then, open an MSYS2 shell and run the following command:
+Then, open any MSYS2 shell and run the following command:
 
     pacman -Syu --noconfirm
 
-After that, open an MSYS2 shell again and run the following commands:
+After that, open any MSYS2 shell again and run the following commands:
 
     pacman -Syu --noconfirm git
     git clone git://wimlib.net/wimlib
@@ -114,12 +114,23 @@ possible to use a release tarball (e.g. wimlib-1.14.0.tar.gz) instead of the git
 repository; however, the make-windows-release script will not be available in
 that case and you will need to handle more things yourself.
 
-To build 64-bit (x86_64) binaries, close the MSYS2 shell you have open, then
-open "MSYS2 MinGW 64-bit" from the Start menu and run the following commands:
+Finally, to actually do a build, close the MSYS2 shell you have open, then open
+one of the following from the Start menu:
 
-    cd wimlib
-    tools/make-windows-release --install-msys2-packages --no-docs --no-zip
+  * "MSYS2 MINGW64" - for x86_64 binaries, built with gcc
+  * "MSYS2 CLANG64" - for x86_64 binaries, built with clang
+  * "MSYS2 MINGW32" - for i686 binaries, built with gcc
+  * "MSYS2 CLANG32" - for i686 binaries, built with clang
+  * "MSYS2 CLANGARM64" - for ARM64 binaries (EXPERIMENTAL, needs Windows ARM64)
 
-The output will be in a folder named like "wimlib-1.14.0-windows-x86_64-bin".
+(If unsure, use "MSYS2 MINGW64".)  Then run the following commands:
 
-For 32-bit (i686) binaries, do the same but use "MSYS2 MinGW 32-bit" instead.
+    cd wimlib
+    tools/make-windows-release --install-msys2-packages
+
+The script will automatically download and install the MSYS2 packages needed to
+build wimlib in the chosen MSYS2 environment, then build wimlib.  The output
+will be in a folder named similarly to "wimlib-1.14.0-windows-x86_64-bin".  Note
+that your "home" folder within MSYS2 is C:\msys64\home\%USERNAME% by default.
+Therefore, the full path to the output folder will be similar to
+C:\msys64\home\%USERNAME%\wimlib\wimlib-1.14.0-windows-x86_64-bin.