原始文献 / 论坛帖 / Re: 64bit support
Re: 64bit support
Bitcointalk · 2010-01-14 20:17:20 UTC
我还没试过编译 64 位。64 位不会更快,因为只有少数地方用 64 位数,SHA-256 是 32 位算法,但对跑 64 位系统的人来说可能更方便。有机会我试试 -m64,看看问题出在哪。
在 64 位 Linux 上装 ia32-libs 就能跑 32 位版。(sudo apt-get install ia32-libs) 如果我们做 Debian 包,可以把它作为依赖自动装上。
英文原文
I haven't tried compiling 64-bit yet. 64-bit wouldn't make it any faster, since it uses 64-bit numbers in only a few places and SHA-256 is a 32-bit algorithm, but it may be convenient for those running a 64-bit OS. If I get a chance I'll try -m64 and see what the problem is.
You can run the 32-bit version on 64-bit Linux by installing ia32-libs. (sudo apt-get install ia32-libs) If we made a Debian package, it could automatically pull that in as a dependency.
