arduino / ArduinoCore-renesas

MIT License
110 stars 74 forks source link

[Feature Request] Provide a much more up-to-date compiler (at least GCC 12) #149

Open aentinger opened 11 months ago

aentinger commented 11 months ago

This core (as well as many other Arduino cores) ships with GCC 7.2.1 20170904.

~/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ --version
arm-none-eabi-g++ (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]

Meanwhile arduino-pico uses GCC 12 and stm32duino uses GCC 10 (at least).

I suggest updating tooling to GCC 12.

Fashion-Corp commented 11 months ago

On a serious note, Alexander, what is the benefit of these continuous updates of everything? It can have many benefits using a stable, older version of everything.

On Mon, Sep 25, 2023 at 8:43 PM Alexander Entinger @.***> wrote:

This core (as well as many other Arduino cores) ships with GCC 7.2.1 20170904.

~/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ --version arm-none-eabi-g++ (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]

Meanwhile arduino-pico uses GCC 12 and stm32duino https://github.com/stm32duino/Arduino_Core_STM32 uses GCC 10 (at least).

I suggest updating tooling to GCC 12.

— Reply to this email directly, view it on GitHub https://github.com/arduino/ArduinoCore-renesas/issues/149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUI6JVQURYTR7O4GXR6T3T3X4G7CXANCNFSM6AAAAAA5GOVUWY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

aentinger commented 11 months ago

ArduinoCore-renesas leverages C++17 - which is only incompletely supported by GCC 7.