Tuesday, January 23rd 2018, 4:49am UTC+1

You are not logged in.

  • Login
  • Register

v01d

Beginner

Date of registration: Feb 29th 2016

Posts: 76

1

Wednesday, December 6th 2017, 8:12am

Using alternative GCC/binutils with SES

Is it possible to plugin/ configure SES to use alternative GCC/BINUTILS than one it comes with? Say if SES lags, and I want to use later builds by GNU ARM, or from another project all together.

(Something you could do with Eclipse + GNU ARM Eclipse plugin, you can configure many GNU GCC cross compilers, toolchain locations)

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 567

2

Wednesday, December 6th 2017, 10:04am

Hello,

Thank you for your inquiry.
Yes this is possible. Either when using the project wizard you will be asked in the setup to set your external toolchain path.
Or if you already have a project set up with an external build config then go to Project-> Edit Options...->Choose External GNU configuration->Build->Tool Chain Directory
There you can change the path and other settings.

Best regards,
Nino

markuskrug

Beginner

Date of registration: Oct 19th 2016

Posts: 16

3

Wednesday, January 3rd 2018, 8:35am

Hi,

I tested the proposal and it looks to me it is not so easy to change the compiler version at least for the following reasons:
  • the naming in the official ARM GCC distribution is different from the one that is set in SES. In SES the compiler is called by cc1. In the official distribution it is something like arm-none-eabi-gcc or arm-none-eabi-gcc-x.y.z where xyz is the version number
  • I'm not an expert, but I assume it is not suffcient to change just the compiler binary. I guess some changes in the lib settings are also necessary

I tried to change to gcc 7.2.1 however I failed. I will be happy if someone can post a 'howto' for changing the compiler version in SES.

Best Regards
Markus