Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 808|Reply: 2

How to run SoftFloat based binary in OrangePiPC ?

[Copy link]

1

Threads

1

Posts

9

Credits

Novice

Rank: 1

Credits
9
Post time 2020-11-4 17:35:17 | Show all posts |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

31

Threads

276

Posts

1324

Credits

Gold member

Rank: 6Rank: 6

Credits
1324
Post time 2020-11-5 09:20:40 | Show all posts
Have you asked in the ARMBIAN forum and website?
Thanks  [url=http://www.orangepi.org/orangepibbsen/static/image/smiley/default/biggrin.gif]http://ww

31

Threads

276

Posts

1324

Credits

Gold member

Rank: 6Rank: 6

Credits
1324
Post time 2020-11-5 09:23:31 | Show all posts
Maybe also try Houser and beamer?  
https://github.com/ucb-bar/berkeley-softfloat-3
Thanks  [url=http://www.orangepi.org/orangepibbsen/static/image/smiley/default/biggrin.gif]http://ww
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-3-6 21:52 GMT+8 , Processed in 0.029161 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list