c - Make: command not found when specifying cross compiler path -
I am trying to compile a kernel on my Fox G20V board. To do this, I have to specify the cross compiler in one of the steps in the create ARCH = arm CROSS_COMPILE = arm-linux- Gnueabi-at91-ariag25.dtb In order for the compiler to know the cross compiler is executable, I export PATH = By doing $ PATH: / home / path_goes_here / bin I specify in the path I resonate In: Command not found But when I do not specify the path Compiler Works, but when it reaches the point of cross compiler, it gives me: create: arm-linux-gnueabi-gcc: command not found I think that when I change it on the cross compiler, then my creation is not in my system path, so I A cross compiler I can / how can add the system path? Edit My Cross Compiler does not really contain Make: Arm-linux -gnueabi-gcc: Command not found Because To create: arm-linux-gnueabi-gcc-4.7gcc: command not found 2 edit < P> The compiler and what seemed to work but now, I get an error: error in trying to exec-exec 'cc1': arm-linux-gnueabi-gcc: execvp: Any such file or directory arm-linux-gnueabi steps
$ PATH , I get the correct way of the cross compiler Though Now, when I make my project, I get:
Linux-gnueabi-gcc-4.7 , and no
arm- Linux-gnueabi-gcc . However, when I specify the cross compiler in
build
CROSS_COMPILE = arm-linux-gnueabi - , then I get:
arm-linux-gnueabi-gcc is not what is to be searched. However when I specify
CROSS_COMPILE = arm-linux-gnueabi-gcc-4.7 , then at the end it adds
GCC and gives me:
CD / Home / Disco / GCC-4.7 -Marm-Link-NanbuBN.7.2-1 / USR / BBN-S Arm- Linux- GNE- GCC- 4.7 Sands- Linux- -GCC
Comments
Post a Comment