Hello.
I'm using a nrf52 dk (nrf52832) + GCC 9.2.1 (9 2019 q4 major) + WIN10 + CLION and I'm trying to build an example project using GCC.
I get the following error:
"C:\Program Files (x86)\GnuWin32\bin\make.exe" --just-print --print-directory --keep-going all Process finished with exit code 2 |
Which is weird, because, firing up cmd and inputing the same "cannot find" command, yields
C:\Users\Master>"C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc" |
(however, "C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc" --version = Access is denied ?!)
Anyway, I noticed that in the Makefile.common, the quote macro replaces , with single quotes. I modified it to include double quotes (for paths with spaces, on windows).
As per your documentation, I set the compiler location in Makefile.windows
GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/ GNU_VERSION := 9.2.1 GNU_PREFIX := arm-none-eabi SHELL := cmd.exe
but still no dice.
Thank you for your time.
UPDATE:
"C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc" --version
now returns 9.2.1, instead of Access denied. It was a windows defender issue (switched it off).
---