viewtopic.php?f=9&t=19&start=10#p72
Modify makefile: xt- -> xtensa-unknown-elf- and xcc -> gcc
Move examples/iot_sdk_v0.6 to iotdemo
Add include/string.h. Contents:
----8<---
extern char *strcpy(char *s1, const char *s2);
extern char *strncpy(char *s1, const char *s2, unsigned int n);
extern int strcmp(const char *s1, const char *s2);
extern int strncmp(const char *s1, const char *s2, unsigned int n);
extern int strlen(const char *s);
----8<---
To compile them, you ofcourse need the xtensa-unknown-elf-whatever tools in your path. Then just run 'make' in the 'iotdemo' dir.