I have added some pre-compiled tools for developing ARM into the /home/charlie/bin/ARM
directory. When I modify the path by PATH=/home/charlie/bin/ARM:"$PATH"
I can execute arm-none-eabi-gcc
in the terminal.
However when I run make
I got this error:
/bin/sh: 1: arm-none-eabi-gcc: not found.
What is the proper mechanism to make new programs located anywhere to be executed like native binaries (for example gcc
) and why was I able to run it in terminal after changing PATH but make
had problems ?
OP's original answer:
The PATH needs to be EXPORTed too!