Comments (5)
You are using an older version of TCC that isn't supported. This does work with TCC 0.9.25 and it should (maybe) run with a higher version, but it's not tested. The latest version is available at http://repo.or.cz/tinycc.git.
from lua-conmanorg.
Thanks for the quick response @spc476 ! How do you suggest to fix this in my case?
from lua-conmanorg.
Um ... download the latest version of TCC that I linked to and use that? Fix the Lua module to remove the extra parameter? (although I don't know if that will work, and I don't accept a patch for it since there's no way to check for that when compiling) Skip compiling TCC entirely by removing it from the Makefile? (unless you need to use the module for some reason). I don't know exactly what you want here ...
from lua-conmanorg.
Ok, thanks @spc476 . One more question. I've compiled lua from sources and don't want to install it into the system. How I can add your modules to my compiled binary?
from lua-conmanorg.
I write two articles about embedding modules in a Lua executable (Preloading Lua modules and Preloading Lua modules, part II) but that was several years ago---I changed it slightly since then to load the C based modules into packages.preload[]. This does require changes to the main Lua executable (lua.c in the Lua source code) and the Makefile to implement.
You'll also find code to convert arbitrary data (like Lua scripts) info a format that can be compiled by a C compiler (build/bin2c.c in this repo) which can be helpful for this endeavor.
from lua-conmanorg.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-conmanorg.