A solid guess, but that doesn't seem to be it. After copying the toolchain to a
path without spaces and adding that to `PATH`:
D:\code\nim\arm_sandbox> nim c
--arm.standalone.gcc.exe=arm-none-eabi-gcc.exe .\src\before.nim
Hint: used config file 'D:\code\nim-1.6.10\config\nim.cfg' [Conf]
Hint: used config file 'D:\code\nim-1.6.10\config\config.nims' [Conf]
Hint: used config file 'D:\code\nim\arm_sandbox\nim.cfg' [Conf]
.........................................................
CC: ../../../nim-1.6.10/lib/system.nim
Error: invocation of external compiler program failed. The system cannot
find the file specified.
Additional info: Requested command not found:
'D:\code\nim-1.6.10\dist\mingw64\bin\arm-none-eabi-gcc.exe -c -w -fmax-errors=3
-mno-ms-bitfields -w -fmax-errors=4 -mthumb -ID:\code\nim-1.6.10\lib
-ID:\code\nim\arm_sandbox\src -o
D:\code\nim\arm_sandbox\build\nimcache\@m..@s..@s..@snim-1.6.10@s...@ssystem.nim.c.o
D:\code\nim\arm_sandbox\build\nimcache\@m..@s..@s..@snim-1.6.10@s...@ssystem.nim.c'.
OS error: 2
D:\code\nim\arm_sandbox> where arm-none-eabi-gcc.exe
D:\dwh\bin\arm-none-eabi\arm-none-eabi-gcc.exe
Run