1

I was trying to follow the the installation tutorial of the Native Client SDK found here. However, my Samsung Chromebook (in developer mode) does not want to run ./naclsdk (chmod +x done), but instead returns the following:

32-bit runtime environment was not found on this system. Specifically the 32-bit dynamic loader which is needed by the NaCl compilers was not found ('/lib/ld-linux.so.2'). On modern debian/ubuntu systems this is included in the 'libc6:i386' package.

On here they write that the PNaCl should run on ARM computers, however, on some other forums I read that wasn't the case. I've tried enabling two flags, as described on a site which I can't post due to a lack of reputation, but it looks like that'll only change things when using PNaCl, not during the installation of the SDK.

Is it possible to install that SDK on my Chromebook and, if so, how?

4

1 回答 1

3

有一点混乱:当文档说“PNaCl 和 NaCl 在 ARM 上工作”时,它意味着在 Chrome 内部运行的用户将使用的部分。SDK 目前仅针对 x86-64 Windows/Linux/OSX 构建,不适用于 ARM。主要原因是它从未被请求过,可能是因为 ARM 机器与通常的开发机器相比非常慢。

话虽如此,我认为将 ARM 用作开发机器并不傻,而且我过去已经为 ARM 构建了自己的 PNaCl 工具链。工具链有构建说明。我最近没有构建它,它可能已经有点烂了,所以如果你遇到问题,我建议给团队发电子邮件或者最好还是发送一个补丁!我希望任何问题都相当小,特别是如果您只想使用pnacl-clangnacl-clang(与 GCC 工具链相反)。

于 2015-03-16T15:33:45.540 回答