How to run SoftFloat based binary in OrangePiPC ?


Recommended Posts

How to run SoftFloat based binary in OrangePiPC ?

 

I have flashed my OrangePiPC with "Armbian_20.08.1_Orangepipc_buster_current_5.8.5.img.xz".

When I cross compiled my C based application with ARM hard-float toolchain "gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf", Its compiled in my linux pc and able to run that application in OrangePiPC. Its working fine.

But When I cross compiled my C based application with ARM Soft-float toolchain "gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabi" (with -mfloat-abi=softfp), Its compiled and Couldn't able to run that application in OrangePiPC.
It showing error like "No such file".

Could you please let me know how to run Soft-float based my application binary in OrangePiPC board?


uname -a
Linux 172.20.4.200 5.8.5-sunxi #20.08.1 SMP Wed Sep 2 08:03:45 CEST 2020 armv7l GNU/Linux


cat /etc/armbian-release 
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepipc
BOARD_NAME="Orange Pi PC"
BOARDFAMILY=sun8i
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=e6fa811d-dirty
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=20.08.1
LINUXFAMILY=sunxi
BRANCH=current
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...