Use file cmd in Ubuntu to figure out whether hello-world was compiled for 32-bit or 64-bit.
-----Original Message----- From: openwrt-users [mailto:[email protected]] On Behalf Of Ajay Garg Sent: Thursday, March 29, 2018 11:21 AM To: OpenWrt User List <[email protected]> Subject: [OpenWrt-Users] Confusion on whether the toolchain is for 32-bit ARM or 64-bit ARM Hi All. My development-machine is a x86_64 machine, with Ubuntu-16.04-LTS installed. Now, I cloned openwrt, selected "Allwinner A1x" as the target, did "make V=s". Finally, "staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-7.3.0_musl_eabi/" toolchain was created. Thereafter, I compiled a hello-world binary, and it ran successfully on a beaglebone (ARM) machine. Now, we wish to use the toolchain for our project, but I am confused as to whether the toolchain supports (only) 32-bit ARM, or (only) 64-bit ARM, or both 32-bit and 64-bit ARM. So, will be thankful if the experts can help me on that. Sorry if the question is too noob. Looking forward to some help. Thanks and Regards, Ajay _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
