3.0.2 • Published 12 years ago

tcc v3.0.2

Weekly downloads
4
License
-
Repository
github
Last release
12 years ago

node-tcc

TCC bindings for node.js. You can compile C code and run it on demand.

SYNOPSIS

var TCC = require('tcc'),
var tcc = new TCC();
tcc.compile_string('int main() { return 4649; }');
var ret = tcc.run();
# => 4649

INSTALATION

node-tcc requires libtcc, compiled with -fPIC. If you OS' libtcc does not compiled with -fPIC, you need to to compile by yourself.

And so, you need to run a conifgure script with following style.

./configure --extra-cflags="-fPIC"

FUTURE PLAN

You may use a symbol from TCC by ffi.

3.0.2

12 years ago

3.0.1

12 years ago

3.0.0

12 years ago

2.0.0

12 years ago

1.0.0

12 years ago