Re: New Working GCC for ESP8266
Posted: Thu Oct 02, 2014 8:46 am
jcmvbkbc, do you have a Paypal address or something? I'd like to buy you a virtual beer for your effort
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
Sprite_tm wrote:jcmvbkbc, do you have a Paypal address or something? I'd like to buy you a virtual beer for your effort
mamalala wrote:Alright, now you have the two extra libs, next step is to edit my Makefile so that it uses the freshly compiled GCC, and also to have it point to the systems include directory, since some sources use things like "#include <string.h>". I attach a modified Makefile here, just edit the path's to the new GCC tools accordingly.
igrr wrote:mamalala wrote:Alright, now you have the two extra libs, next step is to edit my Makefile so that it uses the freshly compiled GCC, and also to have it point to the systems include directory, since some sources use things like "#include <string.h>". I attach a modified Makefile here, just edit the path's to the new GCC tools accordingly.
Looks like using host headers when cross-compiling leads to some 4/8 byte word issues, at least in my case.
Headers from XtDevTools/install/builds/RC-2010.1-win32/lx106/xtensa-elf/include seem to do better job.
Would be great to build libc along with the the compiler to avoid copying stuff from the VM, though.
igrr wrote:Sprite_tm wrote:jcmvbkbc, do you have a Paypal address or something? I'd like to buy you a virtual beer for your effort
I second that
igrr wrote:Looks like using host headers when cross-compiling leads to some 4/8 byte word issues, at least in my case.
Headers from XtDevTools/install/builds/RC-2010.1-win32/lx106/xtensa-elf/include seem to do better job.
Would be great to build libc along with the the compiler to avoid copying stuff from the VM, though.