mbed-cli does not find ARM compiler in linux (with ARM_PATH defined)
See original GitHub issueTrying to compile with ARM compiler – Getting this kind of failure:
Building project mbed-client-testapp (K64F, ARM)
ERROR: run_cmd: Command 'C:/Program Files/ARM/bin/armcc' can't be found
ERROR: run_cmd: Command 'C:/Program Files/ARM/bin/armcc' can't be found
I have specified as per README:
Product: ARM Compiler 5.06
Component: ARM Compiler 5.06 update 1 (build 61)
Tool: armcc [4d35ad]
teetak01@machine:~/dev/mbed-client-testapp (bootstrap)$ which armcc
/home/teetak01/ARM_Compiler_5.06u1/bin/armcc
teetak01@machine:~/dev/mbed-client-testapp (bootstrap)$ env | grep ARM_PATH
GCC_ARM_PATH=/usr/bin/arm-none-eabi-gcc
ARM_PATH=/home/teetak01/ARM_Compiler_5.06u1
Command-line code management tool for ARM mbed OS - http://www.mbed.com
version 0.7.3
Issue Analytics
- State:
- Created 7 years ago
- Comments:27 (13 by maintainers)
Top Results From Across the Web
Mbed CLI can't find executable for gcc_arm. - Question
Mbed CLI can't find executable for gcc_arm. Hi, I have a problem compiling in mbed CLI. That's what i do: I first use...
Read more >mbed CLI: make.py: error: Could not find executable for ARM
Set ARM_PATH in mbed_settings.py in the root folder of your project. Or make sure that ARMCC is in your path. Note that ARM...
Read more >ARM Compiler Getting Started Guide
Provides an overview of the ARM Compiler tools, standards supported, and compliance with the ARM Application Binary Interface (ABI).
Read more >Ubuntu Cross-compile for ARM - PATH variable - bash error
I have downloaded CodeSourcery Toolchain tools located to the following path: root@ab-pc:~/arm-2009q1/bin#. arm-none-linux-gnueabi-ar
Read more >mbed-cli - PyPI
Note: When installing the Arm Compiler 5 on a 64-bit Linux machine, you may need to also install the i386 architecture package:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://os.mbed.com/docs/mbed-os/v5.11/tools/after-installation-configuring-mbed-cli.html for more info.
@matthieu-labas Set your
ARM_PATH
to/home/matthieu/ARM_Compiler_5.06u6
.