04-03-2016, 01:39 AM
(This post was last modified: 04-03-2016, 04:25 AM by tomtor.
Edit Reason: Added armv7h pacman suggestion
)
The armv8 processors can run in 32bit mode (like the Raspberry Pi 3 currently does) but the Linuxes do not support a mixed mode.
So everything is either 32 bit (OS and userland) or 64 bit.
You would have to build a 64bit btsync from source, but it's closed source, so that's no option.
A 32bit Linux does not exist for the Pine, so you cannot run the btsync binary.
Edit:
After reading the refered Debian post it indeed looks possible with the Debian multi Arch framework, but trying to reproduce this on Arch linux is obviously not the easy road.
You have two challenges at once:
Running Debian packages on Arch and running 32bit apps on a 64bit platform. Regarding the latter, I am not familiar with the Arch features for multi arch.
I would start with using the Debian based Ubuntu image instead of the Arch image.
If you really want to use Arch instead of Ubuntu then you should first try to run a simple standard Arch 32 bit binary like eg "cat" on your 64bit Arch installation. If that works you could focus on the Debian btsync.
Edit 2:
You'll need a kernel compiled with the
config ARMV7_COMPAT
option set for 32bit compatibility. See
https://github.com/longsleep/linux-pine6...64/Kconfig
Just checked, the longsleep kernel has this option set, so it should be possible to get it working...
Edit 3:
Shouldn't you use something like
pacman -S --arch armv7h glibc
instead of "arm"?
So everything is either 32 bit (OS and userland) or 64 bit.
You would have to build a 64bit btsync from source, but it's closed source, so that's no option.
A 32bit Linux does not exist for the Pine, so you cannot run the btsync binary.
Edit:
After reading the refered Debian post it indeed looks possible with the Debian multi Arch framework, but trying to reproduce this on Arch linux is obviously not the easy road.
You have two challenges at once:
Running Debian packages on Arch and running 32bit apps on a 64bit platform. Regarding the latter, I am not familiar with the Arch features for multi arch.
I would start with using the Debian based Ubuntu image instead of the Arch image.
If you really want to use Arch instead of Ubuntu then you should first try to run a simple standard Arch 32 bit binary like eg "cat" on your 64bit Arch installation. If that works you could focus on the Debian btsync.
Edit 2:
You'll need a kernel compiled with the
config ARMV7_COMPAT
option set for 32bit compatibility. See
https://github.com/longsleep/linux-pine6...64/Kconfig
Just checked, the longsleep kernel has this option set, so it should be possible to get it working...
Edit 3:
Shouldn't you use something like
pacman -S --arch armv7h glibc
instead of "arm"?