Subj : Compiling and using SpiderMonkey with Mac OS X To : netscape.public.mozilla.jseng From : Heath Raftery Date : Tue Jul 29 2003 08:30 am Moz'ers, I've been investigating the options for including a Javascript interpreter in my Mac OS X application, and am presently considering SpiderMonkey. I've noticed however, that OS X does not seem to be explicitly supported. Through some butchering of the code and quite a bit of mucking around, I've managed to compile SM as a bunch of .o's, a libjs.so and a libjs.a. I've very briefly then, confirmed that I can link a tiny application with the library, and run a program which calls JS_EvaluateScript (amongst others) to execute some JS code. (woohoo!). I'm wondering if there are plans to improve, or awareness of the state of, SM on OS X. My attempts at making the package produced a Darwin_DBG.OBJ folder, suggesting that some work has been done, but I'm not sure I want to use the result in my application, if it is a unstable work in progress. I'm also offering my help, since I've spent quite a bit of time getting the package to compile on OS X, and would love to roll the work back into the source to ease the process for other OS X people. As far as I've seen, previous requests for help on SM & OS X have not produced much response. Interested to hear what people think. Heath -- *--------------------------------------------------------* | ^Nothing is foolproof to a sufficiently talented fool^ | | Heath Raftery, HRSoftWorks _\|/_ | *______________________________________m_('.')_m_________* .