lpc-ext
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Extension modules for Hydra and DGD
src	API glue to compile with your kfun source code
doc	documentation
kfun	kfun source code
jit	JIT compiler module

To build modules for most kfuns, just type 'make' (or whatever your GNU make
command is).  On Windows, use Visual Studio 2010 with the solution file
lpc-ext.sln, or use 'make EXT=dll' with Cygwin.

Use 'make zlib' to build the zlib module.  Requires zlib 1.2.11 dev headers.

Use 'make jit' to build the JIT compiler module.  This requires clang to
be installed (any version from 3.7 onward will work).  The jit module
will start the actual JIT compiler as a separate program.  It must be
configured with the directory that contains the JIT compiler, and where
the JIT cache will be created:

    modules = ([
		 "/home/server/lpc-ext/jit.1.4" :	/* JIT module */
		 "/home/server/lpc-ext/jit"	/* where jitcomp resides */
	      ]);

On Windows, there are different solution files for the components of the JIT
compiler.  lpc-ext.sln is used to build the JIT extension, jitcomp.sln is
used to build the actual jit compiler which runs as a separate program, and
which depends on clang.  clang can be installed as a component of Visual Studio
Community 2019.  Note that jitcomp.sln is a VS2019 solution, whereas
lpc-ext.sln can be built with any Visual Studio version from 2010 onward.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。