I need to build SpiderMonkey so that I can use it with emscripten. I succeeded in building version 1.8 (using the hack from here: http://pmelson.blogspot.fr/2007/12/building-didier-stevens-spidermonkey-in.html). But unfortunately version 1.8 lacks JSON support and apparently that came into existance with version 1.8.1.

Unfortunately I don't see any 1.8.1 tag/branch in CVS and I cannot use version 1.8.5 because the above hack no longer works with that version.

Any ideas for getting this to work in Cygwin?

有帮助吗?

解决方案

You can use the following guide for building Spidermonkey in Cygwin.

SpiderMonkey Build Documentation

Windows build prerequisites

I have used the instructions to build the 1.8.5 version and it worked fine.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top