Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Build fixes from MSYS2/MinGW-w64 #8294
@refack This isn't all the patches needed for MSYS2/MinGW-w64, there'll be follow up pull requests once I get these ones in and the next ones into a pushable state. The (current) full set can be found at:
As for openssl, we use pacman from Arch Linux, so binary dependencies for openssl are used, though you can compile any dependency yourself using makepkg/makepkg-mingw.
HOWTO build node from source for and on MSYS2/MinGW-w64:
Install MSYS2 from http://msys2.github.io from
Run the MSYS2 shell (from the installer or msys2_shell.bat)
Update packages database:
Install git, patch and MinGW-w64 native compilers:
pacman -S git patch mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
Clone MSYS2's MinGW-w64 PKGBUILDs repository:
git clone https://github.com/Alexpux/MINGW-packages
Build the packages.
pacman -U mingw-w64-*.xz
(you can avoid needing to specify the full paths if you run mingw32_shell.bat or mingw64_shell.bat)