I\'m currently trying to compile gcc-4.7.0 with target of arm-eabi in MSYS (1.0.18) with gcc-4.7.2 and I getting this error:
MinGW\\msys\\1.0\\bin\\make.exe: *** couldn\'t commit memory for cygwin heap, Win32 error 487
My OS is XP SP3.
I have 2 gb of physical RAM, 400 mb of them took system etc.
I have 1 gb swap on C: and 3 gb swap on H:
I\'ve googled this, tried to rewrite this value in registry both in
with creating DWORD parameter, but it seems to not affect at all. I\'ve tried different values, from 1024 to 2048 and still get this error.
I\'ve also tried to recompile MSYS dll with heap_chunk_in_mb = 1300; in shared_info::heap_chunk_size ()
It does not help too and unfortunately I can\'t use more 1300 - msys won\'t start then.
One weird thing I\'ve noticed, that with common msys-1.0.dll where heap_chunk_in_mb = 256 this error appear just once, and with recompiled - twice.