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

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

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

Postby zliudr » Wed Oct 06, 2021 3:46 am

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.

tosemusername
Posts: 18
Joined: Tue Feb 05, 2019 5:28 pm
Location: Brazil

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

Postby tosemusername » Thu Oct 07, 2021 9:45 pm

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/

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

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

Postby zliudr » Thu Oct 07, 2021 10:59 pm

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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 413 guests