This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GCC g++ version 8 very slow to compile

With the latest gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 compiler tools release, g++ is very slow to compile relative to the older gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 release.

I am seeing it take over 3 times longer than the previous compiler. A previously 45 second build now takes 2.5 minutes.

Is this to be expected ?

Are there any compiler flags that will speed this up (less optimisations) as it is now taking a significant time to build things ?

Parents
  • Yes, but this issue is under Linux and on the same OS version. gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 compiler tools release, g++ is 3x slower than the gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 release at compiling C++ code in general. I suspect it is the same under MsWindows, can anyone that has MsWindows try this ?

Reply
  • Yes, but this issue is under Linux and on the same OS version. gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 compiler tools release, g++ is 3x slower than the gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 release at compiling C++ code in general. I suspect it is the same under MsWindows, can anyone that has MsWindows try this ?

Children
No data