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

Add release for ARM #101

Open
BasvanH opened this issue Jan 9, 2024 · 4 comments
Open

Add release for ARM #101

BasvanH opened this issue Jan 9, 2024 · 4 comments

Comments

@BasvanH
Copy link

BasvanH commented Jan 9, 2024

Please release version for ARM in future.

Thanks.

@BasvanH
Copy link
Author

BasvanH commented Jan 9, 2024

And add this fix: #79

@johe123qwe
Copy link

I need the ARM version too. Thanks!

@zentavr
Copy link

zentavr commented Apr 10, 2024

As a workaround you can add miltiarch support into your distro. I did something like this (for Ubuntu):

apt-get install binfmt-support qemu-user-static
dpkg --add-architecture amd64
apt-get install hello:amd64

probably you would need to install additional libraries like apt install libcurl4:amd64

root@mc:/opt/bin.x86_64# uname -a
Linux mc.zentavr.com 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:49:56 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
root@mc:/opt/bin.x86_64# file ./gdrive
./gdrive: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=5e364822d8f8c60edb40f87a9320823bfa81002e, with debug_info, not stripped
root@mc:/opt/bin.x86_64# ./gdrive help
Usage: gdrive <COMMAND>

Commands:
  about        Print information about gdrive
  account      Commands for managing accounts
  drives       Commands for managing drives
  files        Commands for managing files
  permissions  Commands for managing file permissions
  version      Print version information
  help         Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help information

@HaniceSun
Copy link

By compiling from source, we can have an ARM version. Adding an instruction seems helpful.

  1. install rust if not yet.
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

  2. in the folder with Cargo.toml (e.g. gdrive-3.9.1), run
    cargo build --release

  3. the binary will appear in the folder, target/release

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

4 participants