Subj : Re: Building thread-safe SpiderMonkey for Win32 To : netscape.public.mozilla.jseng From : "Benjamin D. Smedberg" Date : Tue Mar 16 2004 10:23 am Bob Kline wrote: > thread-safe, and I have a question about the WIN32 makefile (js.mak) > shipped with the js-1.5-rc6.tar.gz tarball. Is there a less fragile way > to maintain an environment which keeps up-to-date thread-safe builds of > js32.lib/dll than to hand-edit each new version's js.mak to inject the > definition for JS_THREADSAFE instructions to link in the NSPR library? I would recommend using the unix/gmake build system, instead of the win32 system. You need a cygwin enviroment, but you can simply specify makefile variables on the command line: gmake -f Makefile.ref JS_THREADSAFE=1 --BDS .