问题1:
1.eclipse调用msys的make命令时,有时候会报错,重启电脑或重启eclipse都不行.命令行就不报错。
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x80000, State 0x10000
E:\software\msys\1.0\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
2.今天google解决了.挺管用的,这样就不需要在命令行下编译了。
rebase -b 0x30000000 msys-1.0.dll
原文:
1. http://stackoverflow.com/questions/19259272/error-installing-gem-couldnt-reserve-space-for-cygwins-heap-win32-error-487
2.http://blog.csdn.net/snail_coder/article/details/9953523
stackoverflow的:
2 down vote
accepted
|
I was facing the exact same issue and after making a lot of searches and many different tries, this is what fixed it for me:
-
Downloaded rebase from http://www.tishler.net/jason/software/rebase/ (download the latest *.exe version) and run it.
-
Fire up a Prompt ("Run as administrator") and go to your dev-kit folder (for instance, mine wasC:\Programs\dev_kit )
-
While in the dev-kit folder, run devkitvars.bat to add devkit to the path.
-
Now do a cd bin (it got me to C:\Programs\dev_kit\bin ) and from there run: rebase -b 0x30000000 msys-1.0.dll
Try to install the gems again. Instead of seeing an error message, now you should seeBuilding native extensions. This could take a while... and it will hang for a while there.
|
需要注意的是这个rebase命令windows sdk也自带,所以需要下载windows sdk.
C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
问题2:
1.msys的终端不支持显示中文文件名
编辑 /etc/profile 最后加入
alias ls="ls --color=tty --show-control-chars"
问题3:
1.msys支持中文路径的操作,比如cd进一个中文文件夹?未解决