回复:比特币
首次公开证据
打开首次公开证据查看 1 个交叉存档
来源说明
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial
很高兴这样能用,依赖项太多又很难构建,确实很麻烦。其中一些依赖对 Windows 构建关注很少。下次我更新到最新版本时,也许会把所有东西放在一个目录树中,然后打包成一个巨大的归档文件。
我不确定他们以前有没有 wxPack。很高兴他们做出了这个,这样每个人就不必自己构建 wxWidgets 了。OpenSSL 是更难构建的那个。
我通过在 EXE 上运行 strip.exe,移除了调试符号,从而减小了 EXE 的大小。这是用 mingw 做的。那是更好的编译器,我只在调试时使用 VC。
我用 wxPack 而不是单独的 wxWidgets 时,成功用 MinGW + MSYS 编译了。可能还需要 wxAdditions。bitcoin.exe 的文件大小却有 52MB,我应该看看怎么解决这个问题。
接下来我要实现“最小化到托盘”功能,以及让比特币随 Windows 自动启动的选项,这样在线节点的数量就能维持在更高水平。之后我可以看看能否进行 Linux 移植,或者实现 Web 应用框架所需的命令行界面。
你用 IRC 的话,找时间来 FreeNode 的 #bitcoin-dev 逛逛。
再次感谢你为比特币所做的出色工作。
引用 mmalmi@cc.hut.fi:
我在尝试构建第三方库并把它们加入比特币构建时,遇到了不少错误。你碰巧有没有可以上传到 CVS 或其他地方的、能够直接构建的软件包?我使用 mingw + msys,不过如果 Visual C++ 用起来更容易,我也可以试试。
英文原文
展开英文原文
Glad that worked, it's a pain that the dependencies are so big and hard to build. Some of them give little attention to the Windows build. Next time I update to the latest versions, maybe I'll lay everything out in one directory tree and bundle the whole thing up into a giant archive.
I'm not sure they had wxPack before. I'm glad they got that so everyone doesn't have to build wxWidgets themselves. OpenSSL is the harder one to build.
I reduced the EXE size by running strip.exe on it to take out the debug symbols. That's with mingw. That's the better compiler, I only used VC for debugging.
I got it compile with MinGW + MSYS when I used wxPack instead of just wxWidgets. Maybe wxAdditions was required. The bitcoin.exe filesize was 52MB though, I should see how that can be fixed.
Next I'm going to implement the "minimize to tray" feature and the option to autostart Bitcoin with Windows, so the number of nodes online would stay higher. After that I could see if I can do a Linux port or the command line interface needed for web app frameworks.
Drop by at #bitcoin-dev on FreeNode some time if you use IRC.
And again, thanks for the great work you've done with Bitcoin.
Quote mmalmi@cc.hut.fi:
I've had quite a few errors coming up when trying to build the third-party libraries and adding them to the Bitcoin build. Do you happen to have a ready-to-build package that you could upload to the CVS or somewhere else? I use mingw + msys, but I guess I could try Visual C++ also, if it's easier that way.