thanks, the xtensa-esp32-elf-gcc-bin does not build as require python2 packages that had been removed (python2-pyelftools), should upgraded to python2-pyelftools-git. Also not sure this will work nicely with aur package manager as they will try to install the build and fail as the files already exist from filesystem.
I am trying to do the dance, removed -newlib from dependency and the like -with-libelf \
but i still get compilation issue about
The directory that should contain system headers does not exist:
/usr/xtensa-esp32-elf/include
My proposal is, since newlib is optional, if newlib is not found, this build "dumb". Then I can install newlib, and force to reinstall gcc (I am waiting for an answer from an official packet manager to know what should be the proper way)
Pinned Comments
baltazar commented on 2020-05-08 08:25 (UTC) (edited on 2020-05-08 08:28 (UTC) by baltazar)
If you get the above linker errors, use
LDFLAGS
from esp-idf: