我用 make 编译时出现以下错误(我有 cygwin.dll)
*** Couldn't reserve space for cygwin's heap (0x150000) in child, cygheap, Win32 error 0
0 [main] make 4336 sync_with_child: child 2968(0x120) died before initialization with status code 0x1
308 [main] make 4336 sync_with_child: *** child state waiting for longjmp
如何解决? 谢谢
最佳答案
我刚遇到这个问题,并被建议重新设置导致问题的 msys-1.0.dll 的基址。
具体来说,我使用了 ReBase.exe 工具:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\x64\ReBase.Exe
它是 Microsoft 平台 sdk v7.1(可能还有其他版本)的一部分 available here .
备份 dll,然后在平台 sdk 命令提示符中尝试此命令行:
rebase -b 0x30000000 /path/to/msys-1.0.dll
这解决了我的问题。
出于兴趣,我推荐的虚拟内存设置为 3GB 左右,实际分配的虚拟内存为 6GB。
关于windows - Win 8,cygwin堆失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9932874/