I am trying to build TraceMonkey for windows 32bit from
http://hg.mozilla.org/tracemonkey/ but it seems that the build system
is not up to date.
Can you tell me if there is another way to build a win32 version of
TraceMonkey ?
Thanks.
Franck.
I can't tell what you tried. Have you already installed MozillaBuild?
http://developer.mozilla.org/en/Windows_Build_Prerequisites
Did you try the build commands shown here?
http://developer.mozilla.org/En/SpiderMonkey/Build_Documentation#Build
What errors do you see?
-j
By default, the build don't failed but the JIT is disabled:
Makefile.ref:58: NANOJIT_ARCH not defined in config/WINNT5.1.mk, JIT
disabled
Now,
if I try to copy " -DAVMPLUS_WIN32 -DAVMPLUS_IA32" from WINNT5.2.mk to
WINNT5.1.mk, and
if I add "NANOJIT_ARCH = i386" (from Linux_All.mk) in my WINNT5.1.mk,
and
if I rename jsbuiltins.c into jsbuiltins.cpp (in rules.mk:107)
Everything seems to be compiled properly, but the JIT obj files
(Assembler.obj, avmplus.obj, ...)
are in nanojit/../ instead of nanojit/
LINK : fatal error LNK1181: cannot open input file 'WINNT5.1_DBG.OBJ/
nanojit/Assembler.obj'
BTW, I get the following warnings on several files:
cl -FoWINNT5.1_DBG.OBJ/ -c -g3 -fno-exceptions -fno-rtti -Wall -
fstrict-aliasing -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -
D_WIN32 -DWINVER=0x500 -D_WIN
32_WINNT=0x500 -nologo -W3 -DAVMPLUS_WIN32 -DAVMPLUS_IA32 -DDEBUG -
DDEBUG_ -DJS_TRACER -DFEATURE_NANOJIT -Inanojit -I. -
IWINNT5.1_DBG.OBJ /D_CRT_SECURE_NO_D
EPRECATE=1 /MDd /DJS_HASHMETER /DJS_GC_ZEAL -DEXPORT_JS_API
jsinterp.cpp
cl : Command line warning D9002 : ignoring unknown option '-g3'
cl : Command line warning D9002 : ignoring unknown option '-fno-
exceptions'
cl : Command line warning D9002 : ignoring unknown option '-fno-rtti'
cl : Command line warning D9002 : ignoring unknown option '-fstrict-
aliasing'
jsinterp.cpp
Franck.
1. make BUILD_OPT=1 OPTIMIZER="-O2 -MD" USE_MSVC=1 -f Makefile.ref
2. copy the *.obj files to the nanojit directory
3. repeat step 1
- moh
Franck.
_______________________________________________
dev-tech-js-engine mailing list
dev-tech-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine