Skip to content
forked from dworkin/lpc-ext

Extension modules for Hydra and DGD

License

Notifications You must be signed in to change notification settings

nyankers/lpc-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.2" :	/* 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.

About

Extension modules for Hydra and DGD

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 73.0%
  • C++ 26.5%
  • Makefile 0.5%