-->
Page 4 of 7

Re: C++

PostPosted: Thu Nov 20, 2014 4:32 pm
by igrr
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.

Re: C++

PostPosted: Thu Nov 20, 2014 4:45 pm
by martinayotte
Hi igrr,
What are you cooking in your jar ? :)
We don't what it is, but it smell good ... :D

Re: C++

PostPosted: Thu Nov 20, 2014 5:01 pm
by igrr
martinayotte wrote:What are you cooking in your jar ? :)

Patience, patience ;)

Re: C++

PostPosted: Thu Nov 20, 2014 5:36 pm
by martinayotte
igrr wrote:Patience, patience ;)

I'm starving ... :lol: