[webkit-qt] stand-alone JS interpreter

Gabor Loki loki at inf.u-szeged.hu
Sat Jan 23 10:22:21 PST 2010


Hi Ariya,

Ariya Hidayat wrote:
> Usually I can build the stand-alone JS interpreter by doing: cd
> JavaScriptCore && qmake && make

Is the 'jsc' binary what you mean?
Well, Simon wrote a draft about the new building method:

> Working way:
> 
> Generate the stuff first:
> 
> qmake -r DerivedSources.pro
> cd JavaScriptCore
> make -f Makefile.DerivedSources generated_files
> cd WebCore
> make -f Makefile.DerivedSources generated_files
> 
> Then for proper incremental builds (if you're not changing the IDL
> files, 
> etc.):
> 
> cd WebCore
> qmake
> make
> 

Anyway, I have a script to build only the 'jsc' binary. See at:
http://gist.github.com/284711

If you want to use the interpreter (instead of JIT) you should
pass DEFINES+=ENABLE_JIT=0 and DEFINES+=ENABLE_YARR=0 to the
script.

--Gabor




More information about the webkit-qt mailing list