hashcat Forum
build for windows from linux - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: build for windows from linux (/thread-8193.html)



build for windows from linux - rtr - 03-03-2019

I tried to build hashcat targeting win32 and win64 (following BUILD.md) from lubuntu but got an error "no rule to make target win32" Stop. Can I build on linux targeting windows or should I build from windows using msys2?


RE: build for windows from linux - philsmd - 03-03-2019

this has nothing to do on where you use the "win32" target, because it doesn't exists anymore! it's just a very recent change:
https://github.com/hashcat/hashcat/commit/68d6d36761e7f5ddb3b58cb90b6a89e8fe9e088a

it means that there won't be any 32-bit binaries, except if you compile the executables yourself on the target (32-bit) system with "make win"


RE: build for windows from linux - atom - 03-03-2019

BUILD.md was updated


RE: build for windows from linux - rtr - 03-04-2019

I did a git pull, updated everything, tried make again but got another error. I installed gcc-mingw-w64 and mingw-64. Tried make again and got another error. This time it says iconv.h is not found. Do I have to change sources to point to /usr/include/iconv.h ? I'm on lubuntu 16.04, so it's a bit old.

Edit.: Finally was able to compile to win. I've read the makefile and found instructions about win-iconv and patching the makefile. Thank you.

Edit2.: Well, my build has something wrong. If I issue a "hashcat --help", I get a "hashcat (v5.1.0-652-gc43ef40) starting..." but nothing else. The official binaries are working fine.