Thanks for Mingw-w64, it's perfect!
I had issue with opening input file with the latest mingw-w64 v. 5.1.0. threads-posix sjlj. It gave me ... "Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error: #0 ffffffffffffffff " So, I went back to v.4.9.2 which works fine.
Problem: "cannot download repository.txt " with version of 21-feb-2016