Did you know ... Search Documentation:
GIT commit info
Update MinGW.txt (building swipl on MSYS2/Mingw64)
authormgondan
Mon Jun 21 09:07:25 2021 +0200
committerJan Wielemaker
Mon Jun 21 09:13:20 2021 +0200
commit43a28412d9dacde2d38ea47383f4d88785f8884e
treecbc869fe72c0a9cacdec41c2096df6ec4b2b8a93
parent3250a930fb4ccc258de8b2401e3d526265731abf
Diff style: patch stat
diff --git a/build/MinGW.txt b/build/MinGW.txt
index a2c6780..0996b65 100644
--- a/build/MinGW.txt
+++ b/build/MinGW.txt
@@ -17,7 +17,7 @@ Building SWI-Prolog for MS-Windows under Linux is supported using
 
 ## Building on Windows itself
 
-According to Matthias Gondon most of the system can be build on Windows
+According to Matthias Gondan most of the system can be build on Windows
 as follows:
 
   - install msys2 from msys2.org
@@ -31,10 +31,13 @@ as follows:
   - ``mkdir build``
   - ``cd build``
   - ``cmake -DMINGW_ROOT=/mingw64 -DLIBUUID_INCLUDE_DIR=/usr/local/include -DUUID_LIBRARY=/usr/local/lib/libuuid.a -DBDB_LIBRARY=/mingw64/bin/libdb-6.0.dll -DINSTALL_DOCUMENTATION=OFF -DSWIPL_PACKAGES_X=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -G "MSYS Makefiles" ..``
-  - only dot dot in the previous line, and avoid "typographic" quotation marks
   - ``make``
   - ``make install``
+  - Copy some dlls to the installation folder:
+  - ``cd /usr/local/bin``
+  - ``cp `ldd libarchive-13.dll |grep -o "/mingw64/bin/.*\\.dll"` .``
   - ``swipl``
+  - ``check_installation.``
 
 See this [post on Discourse](https://swi-prolog.discourse.group/t/compiling-with-msys2/3936/4)