Questioning in gcc "make"

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
Magiclemond
Posts: 2
Joined: Thu Jul 27, 2017 9:05 am

Questioning in gcc "make"

Post by Magiclemond » Mon Jul 31, 2017 4:49 am

I have built arm-none-eabi-gcc on my PC, and it could be found by using "TAB". However, when I use the console "make BOARD=PYBV11", it always shows that:

make:execvp:/usr/bin/gcc/arm-none-eabi-gcc: Not a directory.

:? How should I do to solve this problem? Many thanks...

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Questioning in gcc "make"

Post by pythoncoder » Tue Aug 01, 2017 8:30 am

It's hard to be sure without more detail. Here arm-none-eabi-gcc is an executable in /usr/bin and there is also a directory /usr/arm-none-eabi with various subdirs. My path is

Code: Select all

[adminpete@axolotl]: ~
$ echo $PATH
/home/adminpete/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/qnap2/Scripts:/mnt/qnap2/data/Projects/MicroPython/xtensa-lx106-elf/bin
Peter Hinch
Index to my micropython libraries.

Post Reply