Any way to use a more up to date version of GCC?
Posted: Sat Jun 16, 2018 3:38 am
The IDF toolchain comes with GCC 5.2.0, and from what I understand even using Espressif's version of crosstool-NG will still use that old version of GCC. This is a GCC version all the way from mid 2015, bringing it to roughly 3 years old by now.
https://github.com/espressif/crosstool-NG
Is there any way for me to use a more modern version of GCC via Espressif's crosstool-NG, or are there considerations by Espressif to update to a new version of GCC, specifically with much better C++17 functionality?
For example, I am working on a project and want to use functionality like string_view and structured bindings so I can do stuff like this to drastically clean up my code. Not to mention the massive improvements to templates, and constexpr-if.
https://github.com/espressif/crosstool-NG
Is there any way for me to use a more modern version of GCC via Espressif's crosstool-NG, or are there considerations by Espressif to update to a new version of GCC, specifically with much better C++17 functionality?
For example, I am working on a project and want to use functionality like string_view and structured bindings so I can do stuff like this to drastically clean up my code. Not to mention the massive improvements to templates, and constexpr-if.
Code: Select all
auto [x,y] = Point(4,2);