Subj : Re: Building thread-safe SpiderMonkey for Win32 To : "Benjamin D. Smedberg" From : Bob Kline Date : Tue Mar 16 2004 10:38 am Benjamin D. Smedberg wrote: > 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 Thanks for the suggestion, Benjamin. I tried this, but that approach seems to be built around the assumption that one is building inside a tree that includes the entire Mozilla source tree: $ gmake -f Makefile.ref JS_THREADSAFE=1 cat: ../../dist/WINNT5.0_DBG.OBJ/nspr/Version: No such file or directory cd fdlibm; gmake -f Makefile.ref all gmake[1]: Entering directory `/cygdrive/d/usr/js-1.5-rc6/src/fdlibm' cl -FoWINNT5.0_DBG.OBJ/ -c -DXP_UNIX /MD /Od /Z7 -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 /nologo /W3 /FpWINNT5.0_DBG.OBJ/js.pch -DDEBUG -DDEBUG_bkline -I.. -I../WINNT5.0_DBG.OBJ -DJSFILE -D_IEEE_LIBM k_standard.c gmake[1]: *** [WINNT5.0_DBG.OBJ/k_standard.obj] Error 255 gmake[1]: Leaving directory `/cygdrive/d/usr/js-1.5-rc6/src/fdlibm' gmake: *** [all] Error 2 Did I miss some instructions for building SpiderMonkey independently of Mozilla (which is what js.mak appears to be intended for, but without a thread-safe version)? Bob .