John Stebbins wrote:
This may not be your area of concern, but MinGw has problems with large file support. They've had a ticket open for it since 2006 and a few patches have been floating around, but no resolution. I had to patch several things to accommodate.
the reason for this because msvcrt doesn't support it in early version. all you have to do build with: make CFLAGS="$CFLAGS -D__MSVCRT_VERSION__=0x0601" anyway it's be useful to show us the patches!