OK, the last two lines of previous comment are my fault - I fixed it.
The enclosed demo returns to -flto=n, but with make.exe and echo.exe still accessible from PATH environment variable, and the result is:
The system cannot find the path specified.
make: [C:\Users\SESA40~1\AppData\Local\Temp\cc37Et9s.ltrans0.ltrans.o] Error 1 (ignored)
Adding following to the PATH:
%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\bin;;%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\arm-none-eabi\bin;%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\lib\gcc\arm-none-eabi\8.3.1\;C:\Program Files\Git\usr\bin"
results in:
make: [C:\Users\SESA40~1\AppData\Local\Temp\cc0feLNJ.ltrans0.ltrans.o] Error 1 (ignored)
So, appears like different issue than the one I'm trying to beat.
I tried to debug to find why lto-wrapper fails on process creation, but with no luck - I don't have proper tools for the job on Windows.
OK, the last two lines of previous comment are my fault - I fixed it.
The enclosed demo returns to -flto=n, but with make.exe and echo.exe still accessible from PATH environment variable, and the result is:
The system cannot find the path specified. SESA40~ 1\AppData\ Local\Temp\ cc37Et9s. ltrans0. ltrans. o] Error 1 (ignored)
make: [C:\Users\
Adding following to the PATH: \GCC_ARM\ 8.3.1-2019q3\ bin;;%LOCALAPPD ATA%\GCC_ ARM\8.3. 1-2019q3\ arm-none- eabi\bin; %LOCALAPPDATA% \GCC_ARM\ 8.3.1-2019q3\ lib\gcc\ arm-none- eabi\8. 3.1\;C: \Program Files\Git\usr\bin" SESA40~ 1\AppData\ Local\Temp\ cc0feLNJ. ltrans0. ltrans. o] Error 1 (ignored)
%LOCALAPPDATA%
results in:
make: [C:\Users\
So, appears like different issue than the one I'm trying to beat.
I tried to debug to find why lto-wrapper fails on process creation, but with no luck - I don't have proper tools for the job on Windows.