http://dev.minetest.net/Compiling_Minet ... on_WindowsI used cygwin with its mingw to crosscompile. i previously used to build pidgin and its plugins for windows so it was familiar to me and i also use its ssh server for double secure rdp and proxy to my server remotely. i forget all the packages required but for 64bit you'll need like mingw64-x86_64 binutils libpng libjpeg libvorbis etc. There were some issues with the early mingw-gcc6 releases on cygwin so its been a while and i moved to cross compling on arch-linux which has a newer mingw-gcc7. Crosscompiling on linux will be similar you'll be using whatever version on mingw from that distro. you might be able to use the ubunutu based linux on windows10 feature to also crosscompile
clone minetest from git if building 64bit edit the toolchain_mingw64.cmake to set compliers. i find it easiest to edit files with notepad++ on windows you'll need to edit the file to match this
# which compilers to use for C and C++
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)
run the buildwin64.sh in /util/buildbot it will pull down support libs. you may need to edit the paths in buildwin64.sh before/after and may need to rerun the cygwin install if any missing support dev libraries
once you get that all ironed out it if built successful will dump a zip install into the _build folder. you can extract that to wherever but will need to copy some dlls from your cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin folder to your minetest\bin folder. i believe libgcc_s_seh-1.dll libstdc++-6.dll libwinpthread-1.dll . You'll get errors if they're missing from your minetest\bin folder. If/when cygwin has mingw updates you'll need to copy the updated dll's from cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin to your minetest\bin folder again.
once you get your building environment set then updating is just running the buildwin64.sh script it'll pull down latest minetest and minetest game git and build