Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you also compile your releases to ARM architecture? #13

Closed
mszabolcs-dev opened this issue Jul 8, 2021 · 1 comment
Closed

Can you also compile your releases to ARM architecture? #13

mszabolcs-dev opened this issue Jul 8, 2021 · 1 comment

Comments

@mszabolcs-dev
Copy link

The file says it's a:
mapshot-linux13: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=uddLtPxdcvoAGXUXjLzN/18KPkQR-w3AkfEdyv7ZO/8woBqF8KCDZW7lw-YD2O/r5WVmHnTYn0RB8KU0AgZ, not stripped

Before creating #12 I was able to run it on my raspberry pi, but after an apt-get update I'm getting an error:
bash: ./mapshot-linux13: cannot execute binary file: Exec format error which is completetly makes sense, since raspi is an ARM architecture.
And you can't run an 64bit LSB executable on an ARM.

mapshot@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
...

So my question is, will you able to provide an ARM compiled version with your releases?

@Palats Palats closed this as completed in effe8ce Jul 13, 2021
@Palats
Copy link
Owner

Palats commented Jul 13, 2021

I've added ARM build (32bits for linux, 64bits for Darwin). I don't have a good way to test the resulting binaries, so I'm just trusting Go cross compile here :) You can find the binaries at https://github.com/Palats/mapshot/releases/tag/0.0.13.1 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants