-->
Page 31 of 55

Re: New Working GCC for ESP8266

PostPosted: Thu Nov 13, 2014 7:34 pm
by mobyfab
Toolchain updated : https://drive.google.com/open?id=0BzWyT ... ZpX0E#list

Build script updated: https://gist.github.com/fpoussin/7ae55b5a5bd9a28ce21d

Now with C++ thanks to jcmvbkbc's newlib :)

Re: New Working GCC for ESP8266

PostPosted: Sat Nov 15, 2014 5:20 pm
by ystrem
zarya wrote:i wrote up a guide on getting the compiler to work

its for ubuntu 12.04 32-bit and you can find it here https://nurdspace.nl/ESP8266/First_setup


Hi, I followed this guide (https://github.com/esp8266/esp8266-wiki/wiki/Toolchain), but I'm not able to get build it (./ct-ng build), I get this error. I'm using the official lubuntu. image.

Code: Select all[INFO ]  Installing cross-gdb
[ERROR]    configure: error: expat is missing or unusable
[ERROR]    make[2]: *** [configure-gdb] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@174]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@638]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 13:08.55)
[13:09] / make: *** [build] Error 2

Re: New Working GCC for ESP8266

PostPosted: Sat Nov 15, 2014 9:33 pm
by jcmvbkbc
ystrem wrote:[ERROR] configure: error: expat is missing or unusable

Install expat on your build machine. This one is required for gdb which I enabled in the lx106 config recently.

Re: New Working GCC for ESP8266

PostPosted: Wed Nov 19, 2014 4:22 pm
by terminator
Hey, i created tutorial on setting up toolchain for esp8266 on windows,using mobyfab compiler, hope it helps:

http://signusx.com/esp8266-windows-comp ... -tutorial/