linux - Make cannot find present cross compiler -


i'm using make file compile kernel arm/xilinx platform.

i'm setting env variable cross_compile make file use.

i'm trying use cross compiler, present on system, called arm-xilinx-linux-gnueabi-gcc setting env var in following ways;

export cross_compile=/opt/xilinx/sdk/2015.2/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-  export cross_compile=arm-xilinx-linux-gnueabi- 

the make file should append gcc.

the error given both is

make: /opt/xilinx/sdk/2015.2/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc: command not found scripts/kconfig/conf --silentoldconfig kconfig make: /opt/xilinx/sdk/2015.2/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc: command not found   chk     include/config/kernel.release   chk     include/generated/uapi/linux/version.h   chk     include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' date.   cc      kernel/bounds.s /bin/sh: 1: /opt/xilinx/sdk/2015.2/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc: not found make[1]: *** [kernel/bounds.s] error 127 make: *** [prepare0] error 2 

it works other arm cross compilers one.

why this?

according answers gave in comments, trying run 32bits executable on 64bits host platform.

so, if on ubuntu check this answer askubuntu.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

php - How do you embed a video into a custom theme on WordPress? -