GNU ARM Embedded Toolchain takes more time to compile on Windows 10 than Windows 7

This query is regarding the time difference the GNU ARM Embedded Toolchain takes to build a system on Windows 10 vs Windows 7.
Earlier I was using Windows 7 for compilation of a large bare metal system(around 5000 files) and it took around 2.5 hours to complete the build.
Now, I migrated to Windows 10 and it takes around 12 hours to complete the same build.
Executables used:
1) arm-none-eabi-gcc.exe
2) arm-none-eabi-as.exe
3) arm-none-eabi-ld.exe

It would be really great if you could direct me in the right direction to resolve this issue and if there's anyway to reduce the build time.

Parents
  • Hi,

    Could you possibly reduce this down to the files in the compilation that takes the longest? It would be good to find a test case that is representative of the delay in compilation. You could append a time to the compilation command line in your make file where you invoke the compiler (eg. CC = 'time arm-none-eabi-gcc'). You could then parse and compare the logs on Windows 10 and 7. More info will be helpful eg are you doing the build under a cygwin environment? Cygwin usually adds another layer to the execution.

    Thanks,

    Tejas.

Reply
  • Hi,

    Could you possibly reduce this down to the files in the compilation that takes the longest? It would be good to find a test case that is representative of the delay in compilation. You could append a time to the compilation command line in your make file where you invoke the compiler (eg. CC = 'time arm-none-eabi-gcc'). You could then parse and compare the logs on Windows 10 and 7. More info will be helpful eg are you doing the build under a cygwin environment? Cygwin usually adds another layer to the execution.

    Thanks,

    Tejas.

Children
No data
More questions in this forum