upterm icon indicating copy to clipboard operation
upterm copied to clipboard

ARMv7/armhf support?

Open ELECTROHAXZ opened this issue 2 years ago • 2 comments

This project looks really promising! I see there's only binaries for amd64 and arm64/ARMv8, do you plan to support ARMv7/armhf as well with precompiled binaries? If not, would it be possible to compile from source and use that same binary myself for all ARMv7 devices?

ELECTROHAXZ avatar Mar 02 '22 01:03 ELECTROHAXZ

You should be able to download the ARMv6 Go compiler, compile this project from source, and run the built binary on ARMv7. As far as I know, ARMv6 binaries also work on ARMv7. Please report back how it goes so that I can refer this issue to other people with a similar use case.

owenthereal avatar Mar 03 '22 07:03 owenthereal

One apparently easily can cross compile on any go installation (no specific installation is needed) using GOOS=linux GOARM=7 GOARCH=arm go build ./cmd/upterm/main.go and the result ./main is executable in an armv7 device.

ebraminio avatar Sep 05 '22 09:09 ebraminio