问题描述
我试图使用cygwin-x86(32位版本)在Windows 7上构建我的软件。
Cygwin-x64(64位)在同一台机器上工作得很好。我想构建32位可执行文件。
每当我尝试cygwin-x86时,都会遇到以下错误:
I am trying to build my software using cygwin-x86(32 bit version) on Windows-7.
Cygwin-x64(64 bit) works perfectly fine on the same machine. I want to build 32-bit executable.
Whenever I try cygwin-x86, I get the following errors:
已检查此主题
我已经尝试过那里提到的一切,但我仍然面临同样的问题。
每当我尝试 / usr / bin / rebaseall -v 或 cd / usr / bin& ./rebaseall -v ,如上面提到的线程中接受的答案的第7步所述,我得到这个错误:
I have already tried everything mentioned in there, but I still continue to face the same issue.
Whenever i try /usr/bin/rebaseall -v or cd /usr/bin && ./rebaseall -v as mentioned in the step 7 of the accepted answer in the above mentioned thread, I get this error:
其他.dll的。
如前所述,我在我的机器上安装了cygwin-64,工作正常。但是,在运行 rebaseall 时,它会以某种方式查找 x86-64-pc-cygwin 而不是32位版本。
I get this wrong machine type error for a lot of other .dll's as well.
As mentioned earlier I have cygwin-64 installed on my machine & working as expected. But while running rebaseall it is somehow looking for x86-64-pc-cygwin instead of 32 bit version.
推荐答案
该线程已过时。
运行 / usr / bin / rebase-trigger
,关闭所有cygwin进程并再次运行 setup-x86.exe
。
run /usr/bin/rebase-trigger
, close all cygwin processes and run again setup-x86.exe
. Also without installing anything will execute a rebase for you.
还可以指定选项全部。
注意:
32位系统上的fork问题的最可能原因是安装了太多的程序和库。
Additional note:The most likely cause of fork problems on 32 bit system are too many programs and libraries installed.
例如:
/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygz.dll
属于 cygwin64-zlib
一个用于从cygwin32构建cygwin64程序的交叉库。你真的需要它吗?如果没有,我怀疑,删除所有cywgin64包。
belongs to cygwin64-zlib
a cross library for building cygwin64 programs from cygwin32. Do you really need it ? If not, as I suspect, remove all cywgin64 packages .
这篇关于Cygwin错误:“child_info_fork :: abort:加载到不同的地址:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!