Tiny C Compiler 调用C语言脚本、how-to-compile-run-c-code-at-runtime

 

 

https://www.developing-stuff.com/how-to-compile-run-c-code-at-runtime-or-how-to-use-c-as-a-scripting-language/

https://zhuanlan.zhihu.com/p/358456265

https://blog.csdn.net/c80486/article/details/43370603

 

https://bellard.org/tcc/tcc-doc.html

 

./configure --with-selinux
make
make test
make install

 

https://github.com/TinyCC/tinycc

https://repo.or.cz/tinycc.git

 

 

https://github.com/zhyingkun/TinyCC      【需要增加 make libtcc1

make libtcc1

 

libtcc/src/linux/config.h

#ifndef CONFIG_TCCDIR
#define CONFIG_TCCDIR "/usr/local/tcc/lib/tcc"
#endif
#define TCC_VERSION "0.9.27"

"/usr/local/tcc/lib/tcc" 该路径一定要改为 libtcc1.a 的安装路径

 

 

OpenCL

https://github.com/KhronosGroup/OpenCL-Guide

 

 

Tiny C++ Interpreter

https://github.com/treefrogframework/cpi

https://treefrogframework.github.io/cpi/

 

 

Runtime Compiled C++ sample code

https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus

 

posted @ 2022-05-08 20:38  sinferwu  阅读(144)  评论(0编辑  收藏  举报