Quote:
Originally Posted by knc1
One less process creation.
shebang takes two (shell and shell proc'ing lua) sometimes three, depending on how it got called.
kernel binfmt_misc only has to proc' one process (lua) and that is probably in the kernel's cache buffers (a single process clone call).
Too bad tcc doesn't do ARM code (just x86 and a bit of MIPS).
|
tcc DOES do arm code. lrizzo posted it on his web page with his first kiterm a long time ago. I also built it from source (static and lib-dependent versions) that work in the kindle without optware, and generate arm code. I have a static nano too. Like lrizzo, I do not have all the headers I need though... hello.c worked fine.
To find the latest arm stuff, you need to search for tinycc, not tcc...
The nice thing about static linking is they work on all kindle models. Lib-dependent versions complain about wrong or missing libs when you move them to a different kindle model.