bakeware icon indicating copy to clipboard operation
bakeware copied to clipboard

Running on 32-bit linux systems

Open axelson opened this issue 5 years ago • 3 comments

Is it possible to run a bakeware executable on a 32-bit linux system?

Currently I get

reMarkable: ~/ ./demo
-sh: ./demo: cannot execute binary file: Exec format error

Here is the file output of a working executable:

reMarkable: ~/ file /opt/bin/wget-ssl
/opt/bin/wget-ssl: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /opt/lib/ld-linux.so.3, for GNU/Linux 3.2.0, stripped

The hardware in question is the remarkable 2 e-ink tablet: https://remarkable.com/store/remarkable-2

axelson avatar Dec 30 '20 03:12 axelson

So..I was just playing with this today.

I think the constraint here is that the generated executable is based on the tooling used when generated, which is typically the host tooling. And I would guess your host is 64-bit

If you compiling it under a system using 32-bit, I believe it should work.

jjcarstens avatar Dec 30 '20 05:12 jjcarstens

Okay, I'll try and build it in a 32-bit VM

axelson avatar Dec 30 '20 19:12 axelson

Hmm, actually wouldn't I need to setup some type of cross-compile to get the bakeware executable to support ARM? Or does bakeware already do this?

axelson avatar Dec 31 '20 19:12 axelson