Fix the very old msys or cygwin under win10.
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x4E0000, State 0x10000
~\msys\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
cd /d C:\Tornado2.2\host\x86-win32\lib\gcc-lib\i586-wrs-vxworks\2.9-PentiumIII-010221
dumpbin /HEADERS cc1.exe
17D78400H size of stack reserve
400 000 000(10进制) size of stack reserve
editbin /STACK:67108864 cc1.exe
changed to be
400 0000H size of stack reserve (64MB)
67108864(10进制) size of stack reserve
dumpbin /HEADERS cc1plus.exe
17D78400H size of stack reserve
400 000 000(10进制) size of stack reserve
editbin /STACK:67108864 cc1plus.exe
changed to be
400 0000H size of stack reserve (64MB)
67108864(10进制) size of stack reserve
And for Msys 1.0.11
tasklist /m msys-1.0.dll
copy msys-1.0.dll msys-1.0.dll.bak
editbin /rebase:base=0x50000000 msys-1.0.dll
rebase.exe -b 0x50000000 msys-1.0.dll
dumpbin /headers msys-1.0.dll