Michal,
For some reason I cannot reproduce the issue you reported. Here is what I tried: ----------------- G:\test>PATH C:\WINDOWS\system32;C:\WINDOWS
G:\test>"c:\Program Files (x86)\GNU Tools ARM Embedded\8 2019-q3-update\bin\arm-none-eabi-gcc" a.c -mthumb -mcpu=cortex-m4 -Os -flto -fuse-linker-plugin -specs=rdimon.specs -specs=nano.specs -lc -lc -lrdimon -o a.axf
G:\test>
Can you please share a simple case so that we can reproduce?
Michal,
For some reason I cannot reproduce the issue you reported. Here is what I tried: system32; C:\WINDOWS
-----------------
G:\test>PATH C:\WINDOWS\
G:\test>"c:\Program Files (x86)\GNU Tools ARM Embedded\8 2019-q3- update\ bin\arm- none-eabi- gcc" a.c -mthumb -mcpu=cortex-m4 -Os -flto -fuse-linker-plugin -specs=rdimon.specs -specs=nano.specs -lc -lc -lrdimon -o a.axf
G:\test>
Can you please share a simple case so that we can reproduce?