First post on these forums, so Hi from Australia!
I've been using the esp8266 for quite a while now via the Arduino and Lua routes, and now I need to get down and dirty with the C SDK for some high rate I2S input (that's a whole other post for later!)
I am a long time Eclipe CDT user using Cygwin and MinGW via Cygwin on Windows for Ada/C/C++/FORTRAN so I really want to be able to stick with my current dev environment.
I looked at @CHERTS Dev Kit and may just give up and install that (and a huge thank you to @CHERTS, @kolban and @scargill for the incredible work you have done!! I have learned so much about the ESP8266 in such a short time thanks to you all), however I decided to build and install from scratch using esp-open-sdk.
Running latest releases of Cygwin with all the appropriate tools installed, latest pull of esp-open-sdk, and running the Makefile inside Eclipse Neon. I get as far as the final compiler stage and then I see the identical errors CHERTS got way back in 2014, which is virtually identical to that documented here:
basically with two xgpp missing file errors followed by a segfault in stdc++ at about the same place.
Got exactly the same result running from the command line.
So my following random questions are:
- has anyone managed a recent esp-open-sdk build with Cygwin64 (gcc 5.4.0)?
- has anybody got a Makefile or Eclipse config that uses the Arduino esp8266 toolchain for a C SDK build? Would be nice to have the same toolchain for both but I'm getting pvPortMalloc etc. errors at the moment so I must be missing a -L<lib> or something
- does anybody know how to add -no-cygwin to the gcc compiler path when building esp-open-sdk?
- does anybody know how how to add -STANDALONE=n etc. to build directives in the latest Eclipse? Currently I'm editing the Makefile to select the standalone or SDK versions.
Many thanks for any pointers, tips or tricks you may have!!