Here is a MinGW32 compiled version that does not require the Cygwin DLLs. I compiled it using the following command:
Code:
gcc -D_WIN32 -static -o moto-fastboot.exe usb_windows.c util_windows.c fastboot.c protocol.c engine.c bootimg.c ../libzipfile/zipfile.c ../libzipfile/centraldir.c -lz AdbWinApi.a -I../include -I../libzipfile -I../mkbootimg
I had to install the standard MinGW / MSYS setup along with libz for MinGW
here. Its beyond the scope of this post to go into details on how to do that install.
I have included the source I used because I needed a few extra header files and a static library for AdbWinApi. I also included the standard ADB DLLs in the exe zip, though if you've installed ADB before you should already have them.