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

User avatar
By Markus Gritsch
#47281 Hi,

I tried to compile Micro Python with the new Beta DevKit and got the following error:

xtensa-lx106-elf-gcc.exe: error: unrecognized command line option '-mforce-l32'

By googling for this I found https://www.reddit.com/r/esp8266/commen ... gcc_error/ and https://github.com/micropython/micropython/issues/1978

It seems there is a patch called '1000-mforce-l32.patch' which adds this switch to crosstool-NG. Does it make sense for you to include this patch into your DevKit?

Cheers,
Markus
User avatar
By CHERTS
#47541
Markus Gritsch wrote:Hi,
I tried to compile Micro Python with the new Beta DevKit and got the following error:
xtensa-lx106-elf-gcc.exe: error: unrecognized command line option '-mforce-l32'
By googling for this I found https://www.reddit.com/r/esp8266/commen ... gcc_error/ and https://github.com/micropython/micropython/issues/1978
It seems there is a patch called '1000-mforce-l32.patch' which adds this switch to crosstool-NG. Does it make sense for you to include this patch into your DevKit?
Cheers,
Markus


Hi Markus,

Patch -mforce-l32 conflicts with patch -mauto-litpools, so it can not be so easy to apply.
I wrote jcmvbkbc (Max Filipov), if he has time, he will make -mforce-l32 patch that does not conflict with the patch -mauto-litpools.
User avatar
By Markus Gritsch
#47544
CHERTS wrote:I wrote jcmvbkbc (Max Filipov), if he has time, he will make -mforce-l32 patch that does not conflict with the patch -mauto-litpools.

Thank you very much. Let's hope MicroPython can be compiled with your toolkit some time in the future :)
User avatar
By CHERTS
#47916 Hi all

I build a new BETA (24.05.2016) version of Espressif DevKit for Windows v2.1.0

Download Beta version here

Changelog:
v2.1.0 Beta (25.05.2016):
* Update SDK v1.5.4 (folder ESP8266_SDK);
* SDK version 1.5.3 moved to a folder ESP8266_SDK_153;
* Updated examples:
rboot;


Update procedure:
1. Remove the release version 2.0.x or beta version 2.1.0
2. Install the new beta version 2.1.0
ATTENTION!!! When you delete the old version will be removed entire directory C:\Espressif