jcmvbkbc wrote:Yet another option might be updating crosstool-NG and using it.
Ok, done that: https://github.com/jcmvbkbc/crosstool-NG/commits/lx106
The build procedure is the following:
$ git clone -b lx106 git://github.com/jcmvbkbc/crosstool-NG.git
$ cd crosstool-NG
$ ./bootstrap && ./configure --prefix=`pwd` && make && make install
Configure it for lx106:
$ ./ct-ng xtensa-lx106-elf
And build the toolchain:
$ ./ct-ng build
Toolchain binaries will be under builds/xtensa-lx106-elf/bin
Not sure what to put to https://github.com/esp8266/gcc-compiler. I'd rather put both crosstool and gcc to separate repos.
New site featuring ESP8266 and ESP32 projects. tutorials, and news. http://EverythingESP.com
ESP8266.com Founder and Administrator
Come follow us on Google+ Page
Follow US or add your project
Invite your friends!
Home of the ESP8266, ESP8285, and ESP32 microcontrollers....
admin wrote:Can you put them in 2 directories? under the one.... if not I can do a crosstools also
Richard, I just requested transfer of both gcc and crosstool repos to esp8266.
The crosstool repo has gcc call0 ABI patches in it, so it's the only thing that's needed to build the toolchain.
gcc repo may be interesting to people who'd like to hack gcc more or to build it manually.