> => Is it just providing definitions for setjmp and longjmp > functions? OR It is full-fledged newlib port (incld all syscalls > etc) are needed?
I am not sure if I understand you entirely. A lot of what happens in the core of eLua is because of Newlib. It does everything from handling I/O code to memory allocation. It is shipped along with your bare-metal toolchain (example, arm-none-eabi-gcc, avr32-gcc).
From code, you can tell Newlib and the toolchain what should happen when for example, you invoke malloc. You can control its behaviour. It is called a stub. eLua has a stub file too. It lives here . You should have a look at it.
> Some inputs would be appreciated.
Are you interested in writing a port for a target? Can you please tell us which CPU/board you have at your end?
Thanks for quick response and good to see you here! :).
Link was helpful - I see lot of file operation stubs.
"Are you interested in writing a port for a target? Can you please tell
us which CPU/board you have at your end?"
=>I am looking to port Infineon Aurix [on Triboard TC2xx]. Unfortunately, no port of newlib is also available. So, I have started it - once done, newlib sources would be available at 
Since, my current target is just to port newlib part bare necessary to get eLua build running for tricore to optimize my time. Thats reason, I asked this question.
=> I also see that newlib as a library not used [did not see any *.a file in eLua sources]. How are newlib source integrated in newlib [apart from stub].