linuxlinux-kernelembedded-linuxcross-compilingbsp

Cross compiling uboot error


/bin/bash: arm-eabi-gcc: command not found

/bin/bash: arm-eabi-gcc: command not found

dirname: missing operand

Try `dirname --help' for more information.

/bin/bash: arm-eabi-gcc: command not found

/bin/bash: arm-eabi-ld: command not found

/bin/bash: arm-eabi-gcc: command not found

dirname: missing operand

Try `dirname --help' for more information.

/bin/bash: arm-eabi-gcc: command not found

dirname: missing operand

Try `dirname --help' for more information.

arm-eabi-gcc -DDO_DEPS_ONLY \
        -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -I/home/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__         -march=armv5 -Wall -Wstrict-prototypes      \
        -o lib/asm-offsets.s lib/asm-offsets.c -c -S

/bin/bash: arm-eabi-gcc: command not found

make: *** [lib/asm-offsets.s] Error 127

Solution

  • If tool chain path is properly exported then your problem is related to 32 and 64 bit mismatch.Perhaps you are trying to run 32 bit executable on 64 bit PC.

    you should install the package "ia32-libs"