GCC/MinGW compiler

Questions about MultiCharts and user contributed studies.
Zheka
Posts: 225
Joined: 13 Jan 2016
Has thanked: 8 times
Been thanked: 53 times

GCC/MinGW compiler

Postby Zheka » 18 Mar 2024

MC 15 still uses an ancient 4.6.1 MinGW/GCC compiler (from 2011) as the backend to run studies (translated from PL to CPP).

Besides significant improvement in the optimization/speed of generated binaries through compiler generations from 2011 to 2024, latest compilers also have tunings for the recent CPUs (with march=native)

It would be really great if MC upgraded to the latest toolchain.

Is there hope? (or a way to do this manually by an advanced user)

User avatar
Polly MultiCharts
Posts: 203
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: GCC/MinGW compiler

Postby Polly MultiCharts » 20 Mar 2024

Hello Zheka,

I have forwarded your request to the devs for evaluation.

In the meantime you can try doing it yourself. The modules necessary for compilation (including the compiler itself) are located here by default:
C:\Program Files\TS Support\MultiCharts64\make
You might try replacing the modules and check if it works.

Zheka
Posts: 225
Joined: 13 Jan 2016
Has thanked: 8 times
Been thanked: 53 times

Re: GCC/MinGW compiler

Postby Zheka » 20 Mar 2024

Hi Polly,

I had quickly tried to replace the modules and got a bunch of errors at compilation.

Before I spend time on digging deeper, can you pls check with devs if this will work at all?
Or are there any internal dependencies (on compiler flags, standards,etc) that would prevent it working correctly in principle, wo some changes on your side?

User avatar
Polly MultiCharts
Posts: 203
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: GCC/MinGW compiler

Postby Polly MultiCharts » 21 Mar 2024

Zheka,

If replacing doesn’t help, there is no other easy workaround, I’m afraid.
I have already forwarded your request to the devs but the investigation might take a considerable amount of time and other resources.

Zheka
Posts: 225
Joined: 13 Jan 2016
Has thanked: 8 times
Been thanked: 53 times

Re: GCC/MinGW compiler

Postby Zheka » 21 Mar 2024

I might have done smth incorrectly on a quick try....Can u quickly check w devs if this can work at all?

User avatar
Polly MultiCharts
Posts: 203
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: GCC/MinGW compiler

Postby Polly MultiCharts » 22 Mar 2024

Zheka,

As I have mentioned, this topic requires detailed investigation so there is no quick and simple way we can recommend, I’m afraid.


Return to “MultiCharts”