-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get new GCC compiler (IDFGH-5101) #6885
Comments
Those are unofficial builds and do not include all espressif patches. Latest releases are here https://github.com/espressif/crosstool-NG/releases |
Ok got that, how can I stop the esp-idf export.sh from changing the PATH so that the outdated 8.4.0 compiler binaries are used and instead the distro provided ones from |
Is there any esp-idf provided way to override the compiler? |
Hi @0xFEEDC0DE64, adding the toolchain For example, you can run Or, don't run After doing this, remember to run |
the cmake step already fails because the arch rebased gcc isn't able to compile simple small test programs. I understand that the development on gcc from espressif may have been stopped, but is there anything going on in regards to newer toolsets? Is llvm in consideration? |
Yes we will definitely switch to a newer compiler version in one of the next IDF releases. I am sorry I can't give you more specific timeline. If you'd like to build GCC 10 yourself in the meantime, you can try the branches linked in espressif/crosstool-NG#11 (comment). Binary builds are also provided. |
Any update on this? When is a c++20 capable compiler finally supported by the idf? |
According to this comment in #6214, it is planned to upgrade the toolchain to GCC 11. |
Closes #4846 Related to #5003 Related to #6885 Related to espressif/arduino-esp32#5859
I noticed when sourcing the export.sh of esp-idf 4.4-dev I get a gcc compiler version 8.4.0:
But then I noticed Arch Linux already has version 10. How can I get version 10 with esp-idf and without using distro provided compilers?
https://aur.archlinux.org/packages/xtensa-esp32-elf-gcc/
The text was updated successfully, but these errors were encountered: