question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mbed-cli does not find ARM compiler in linux (with ARM_PATH defined)

See original GitHub issue

Trying 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:closed
  • Created 7 years ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
theotherjimmycommented, Mar 4, 2019

@matthieu-labas Set your ARM_PATH to /home/matthieu/ARM_Compiler_5.06u6.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found