On Fri, Jan 6, 2017 at 12:07 PM, Vered Zvi <ver...@elta.co.il> wrote:
> I compiled busybox 1.25.1 for ARM-V7 using crosstool-ng toolchain.
>
> I used the commands:
>
> TOOLCHAIN=/home/zvivered/module/CARD/linux4.1.13/toolchain
> make clean
> make ARCH=arm 
> CROSS_COMPILE=$TOOLCHAIN/crosstool/release/bin/arm-cortex_a15-linux-gnueabihf-
>  defconfig
> make ARCH=arm 
> CROSS_COMPILE=$TOOLCHAIN/crosstool/release/bin/arm-cortex_a15-linux-gnueabihf-
> make CONFIG_PREFIX=../../../rootfs install
>
> Then I ran:  file busybox
> and got:
> ./busybox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
> linked (uses shared libs), for GNU/Linux 2.6.32, 
> BuildID[sha1]=4789168febe33cdab87b3d932c0fdbf8d5c73e30, stripped
> [...]
> Also, the busybox utils are running on my centos (64) machine.
> How is it possible that a utility compiled for ARM is running on an x86 
> machine ?

Did you ever check your "arm-cortex_a15-linux-gnueabihf-gcc -v" output?
Look at the "Target:" line, what does it write?
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to