本文介绍了AVR gcc版本<gcc发行版本-为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到AVR的gcc落后于gcc的主要开发流程.例如,AVR8的gcc在Atmel Studio 7和Arduino中为4.9.2,而AVR32在Atmel Studio中为4.4.7.同时,gcc 4.9.4是当前的4.9版本,并且开发正在推动多个分支5.x,6.x和7.x( https://gcc.gnu.org/develop.html ).

I noticed that gcc for AVR lags behind the main development stream of gcc. For example, gcc for AVR8 is 4.9.2 in Atmel Studio 7 and Arduino, and AVR32 is at 4.4.7 in Atmel Studio. Meanwhile, gcc 4.9.4 is the current 4.9 release, and development is pushing multiple branches 5.x, 6.x and 7.x (https://gcc.gnu.org/develop.html).

更新(2019年11月):Atmel Studio和Arduino工具链现在达到了gcc 5.4,但仍仅完全实现C ++ 11.

Update (November 2019):Atmel Studio and the Arduino toolchain are now up to gcc 5.4, which still only fully implements C++11.

我担心的是,我可能会通过在较旧的编译器中使用C ++语言的最新添加的功能来遇到早期的实现问题.此外,尚不清楚gcc中AVR支持的开发过程.

My concern is that I may run into early implementation issues by using recently added features of the C++ language with an older compiler. Additionally, the development process of AVR support in gcc is unclear.

  • gcc + AVR工具链中是否添加了C ++语言的新功能?
  • 我可以在Atmel Studio或Arduino IDE中使用它们吗?

推荐答案

如果要使用特定版本的GCC,请使用它.您可以自行构建或进行预构建,因此无需使用Atmel沙箱.

If there is a particular version of GCC you want to use, just use it. Build it yourself or get a pre-built, there is no reason you need to use the Atmel sandbox.

这篇关于AVR gcc版本<gcc发行版本-为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 21:08