View: 2521|Reply: 0

How to run SoftFloat based binary in OrangePiPC ?

[Copy link]

1

threads

1

posts

9

credits

Novice

Rank: 1

credits
9
Published in 2020-11-4 17:35:17 | Show all floors |Read mode
        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

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list