Spidermonkey 指向 NSPR/DIST 目录

发布于 2024-07-18 16:25:18 字数 251 浏览 8 评论 0原文

我一直在尝试交叉编译 Spidermonkey,但遇到了 prtypes.h (NSPR) 无法识别的问题。 我已经尝试修改 Makefile.ref/config.mk/jsconfig.mk 以指向所需的 NSPR/DIS 目录。 我肯定错过了一些基本步骤,因为它仍然无法使事情正常进行。 您对如何正确修改 makefile 以将我的 Spidermonkey 指向正确的 NSPR 库有什么想法吗?

I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h (NSPR) is unrecognizable. I alread tried modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps because it still won't make things work.
Do you have any ideas on how to properly modify the makefiles to point my spidermonkey to the right NSPR libraries?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拥醉 2024-07-25 16:25:18

您可能已经解决了您的问题,但仍然...

make JS_DIST=dir JS_THREADSAFE=1 -f Makefile.ref

dir 是 nspr 的安装位置,我认为它必须是其目录的完整路径(如 /usr/local/nspr 或 /home//mozilla/nsprpub/dist,如果未安装),否则它存在一些问题,可能会让您想要修改蜘蛛猴的化妆包。

https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_THREADSAFE

You've probably already solved your problem, but still...

make JS_DIST=dir JS_THREADSAFE=1 -f Makefile.ref

dir is where nspr is installed, I think it must be full path to its directory (like /usr/local/nspr or /home//mozilla/nsprpub/dist if it's not installed), otherwise it has some issues that might make you want to modify spidermonkey's makeifle.

https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_THREADSAFE

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文