GCC version?

Status
Not open for further replies.

frankbuss

New member
I noticed that the Teensy Arduino environment uses a pretty old compiler. It shows this:
GCC version: arm-none-eabi-g++ (GNU Tools for ARM Embedded Processors) 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496]
I have a problem with variadic templates with it. Is it possible to update it to the latest GCC compiler? Probably the build environment is already all automated and would be just specifying a different version?
 
Use of newer gcc was recently discussed here:

https://forum.pjrc.com/threads/67252-Teensyduino-1-54-Beta-9?p=279446&viewfull=1#post279446

If by "Is it possible to update it to the latest GCC compiler?" you want to install another compiler on your computer, then yes, it certainly is possible. See those messages on 1.54-beta8 & 1.54-beta9 threads for details.

If you find more things which break, please report them with test case code on those beta test threads. Just know the odds are slim any gcc9 issues will get fixed for 1.54. It's a long-term thing.

But if your question is asking whether PJRC will bundle a newer compiler, for Teensyduino 1.54 the answer is definitely no. Later, eventually, probably. So far testing has shown no performance improvement and in some cases slightly slower compiled code on the latest versions. Reality is advanced C++ templates aren't a huge motivation to update.
 
Status
Not open for further replies.
Back
Top