Compile embedded C code project using ARMCompiler6 in WSL

131 Views Asked by At

I'm attempting to migrate the workflow for an ARM embedded C code project from Cygwin to WSL and PowerShell. I'm using ARM Development Studio 2019.0-1 and its ARMCompiler6.12.1. I setup WSL, moved to my project dir, switched to bash, ran make, and got the following error:

"bash: line 1: armclang: command not found"

I expected this to be a path issue so I compared the $PATH env variable in Cygwin to WSL's

/cygdrive/c/Program Files/Arm/Development Studio 2019.0-1/sw/ARMCompiler6.12.1/bin:

/mnt/c/Program Files/Arm/Development Studio 2019.0-1/sw/ARMCompiler6.12.1/bin

I also added the following line to $PATH since make.exe is there, but same thing:

C:\Program Files\Arm\Development Studio 2019.0-1\bin

Any help getting my embedded C code project to compile using ARMCompiler6 in WSL is appreciated.

0

There are 0 best solutions below