This is a re-occurring issue, so you might want to search the list archives for old discussions (there's no real change to this, since Lua 4.0 at least). What you'd want to "pick and place" is all the standard libraries, that's for sure. Even then, I wouldn't think 32K is really reachable, some 50-60K might be. Others may prove me wrong. :)
-asko
bert kirjoitti 13.5.2006 kello 2.44: Hi All,
I have an ARM cpu here I'd like to run LUA on. I'd like the LUA part of the firmware to take less than 32K, and I don't need the complete LUA running on it. I just want to write some LUA function on my PC and then run the (compiled) code on LUA running on the ARM. The function typically does some computations on data. What parts of the LUA source code do I need for making this work and what can I safely remove?
Thanks, Bert.
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
|