How to disable compiler library link options (-lc -lgcc -lm)
Hello eLua community,
I am porting eLua to new architecture and board. The compiler tool-chain doesn't have direct newlib/libc support [i.e. library files are also not available].
I have made some dirty hack to make tool-chain work and all sources are compiling and linking as well to create an ELF (a dummy one just to check if build process works fine)
"-lc -lgcc -lm" options are generated by eLua build automatically which breaks the link process. However, when I remove these, linking process is going fine.
Can you please suggest how to disable these link options?