Page 1 of 1

What is the gcc version in my IDF (V4.3 beta1)

Posted: Wed Oct 06, 2021 3:46 am
by zliudr
There should be an easy way to find out, right? I'm trying to determine what C++ standard the compiler conforms to so I know what language features are included. Thanks.

Re: What is the gcc version in my IDF (V4.3 beta1)

Posted: Thu Oct 07, 2021 9:45 pm
by tosemusername
There should be an easy way to find out, right?
I wonder how quickly you gave up on looking for that, if at all.
There are at least 3 ways I can think of:
  • $ xtensa-esp32-elf-g++ --version
  • $ idf_tools.py list
  • Check the folder name under <folder where idf tools are installed; defaults to ~/.espressif on Linux>/tools/xtensa-esp32{your ESP32 flavor here}-elf/

Re: What is the gcc version in my IDF (V4.3 beta1)

Posted: Thu Oct 07, 2021 10:59 pm
by zliudr
I apologize for not knowing how to use these tools that I didn't make. Both 1 and 2 produced 8.4.0 and 3 was simply not in my IDF (maybe you overgeneralized based on what you have?). Problem solved.

https://gcc.gnu.org/gcc-8/changes.html#cxx