someburner / crosstool-ng

Other
1 stars 0 forks source link

"xtensa-lx106-elf-gcc -print-sysroot" returns empty string #3

Open todork opened 3 years ago

todork commented 3 years ago

Hi someburner,

Now esp-open-sdk compiles successfully.

But sysroot is not returned when

vagrant@ubuntu-focal:\~/esp-open-sdk$ xtensa-lx106-elf-gcc -print-sysroot
vagrant@ubuntu-focal:\~/esp-open-sdk$

is called and this breaks the esp8266 micropython compilation.

Снимка от 2021-02-28 11-54-46

This is the compilator info Снимка от 2021-02-28 12-15-40

someburner commented 3 years ago

I don't use micropython. My only suggestion would be to manually provide micropython with the sysroot location. I don't maintain crosstool-ng and this is only meant to be used for non-OS SDK applications, so I can't provide support for this specific use case.