Hello, Target: arm-cortex_a15-linux-gnueabihf-gcc
Thank you for your help, Z.V ________________________________________ From: Kang-Che Sung [[email protected]] Sent: Friday, January 06, 2017 7:20 AM To: Vered Zvi Cc: busybox Subject: Re: Compiling busybox for ARM-V7 On Fri, Jan 6, 2017 at 12:07 PM, Vered Zvi <[email protected]> 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? The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
