Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to run SoftFloat based binary in OrangePiPC ?

Featured Replies

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

Try cross-compiling with -mfloat-abi=soft -static, all libraries on your armbian image are armhf:

 

% dpkg -S libm.so
libc6:armhf: /lib/arm-linux-gnueabihf/libm.so.6
libc6-dev:armhf: /usr/lib/arm-linux-gnueabihf/libm.so

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.