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

User avatar
By GigAHerZ
#24765 I have tried to set it up in a different location than the default is and can't get it working. And with some investigation i saw that for example gen_appbin.py contains hardcoded full path to devkit's location. Possibly there are other places like this too...

So is the repo actively managed still? I mean, i might want to start fixing those parts maybe. Because, i would not want my C drive's root be a junkyard really. :)
User avatar
By kenn
#24785
GigAHerZ wrote:I have tried to set it up in a different location than the default is and can't get it working.

So is the repo actively managed still? I mean, i might want to start fixing those parts maybe. Because, i would not want my C drive's root be a junkyard really. :)


The latest version is July 9. I expect a new version shortly since there are new espressif SDKs available, though it's actually not hard to manually update the SDK within the CHERTS UDK.

I added the Sming repo from github into the c:\espressif directory, and that worked pretty much immediately too.

This package is actually a nice piece of work. Install eclipse, install the package... fire up eclipse...and it works. And there's a great collection of samples and projects all ready to use. In my opinion, the hardcoded install location is a very, very small thing to live with.

Besides, if you're running windows, your C: drive is already junked up. ;)
User avatar
By kolban
#25020 What help do you need? Have you studied the command called "ar"? At a high level, to create a library ... compile your source files to object files (.o) and then archive them into a library "libmyLib.a". You now have your library which can be supplied to the linker with the -lmyLib flags and unresolveds will attempt to be satisfied from the objects in the library.

Neil