Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By igrr
#3012
jcmvbkbc wrote:Looks like it needs to be compiled with -fno-rtti. Can you share the code and build commands?

Disabling rtti helped.
As for the other errors, turned out some Arduino libraries called malloc, free, and abort. Replacing those with calls to functions from espressif SDK helped. But this is not a very robust solution as the user can legitimately include <stdlib.h> in his sketch and call malloc, which will result in linker error. So I guess these newlib functions have to be replaced or overridden in this case.
User avatar
By martinayotte
#3017 Hi igrr,
What are you cooking in your jar ? :)
We don't what it is, but it smell good ... :D
User avatar
By igrr
#3023
martinayotte wrote:What are you cooking in your jar ? :)

Patience, patience ;)