GithubHelp home page GithubHelp logo

Comments (5)

tmccombs avatar tmccombs commented on June 19, 2024 1

a dynamically linked 32 bits executable might also work?

I'm no expert on ARM, but I think the fd-v9.0.0-arm-unknown-linux-gnueabihf.tar.gz build would be that?

and fd-v9.0.0-arm-unknown-linux-musleabihf.tar.gz would be a statically compiled 32-bit arm version.

A statically linked version might be as simple as adding a line like

          - { target: aarch64-unknown-linux-musl  , os: ubuntu-20.04, use-cross: true }

to the build matrix. But I'm not sure if there would be any problems with that, and don't have a way to test if it works.

from fd.

pro-sumer avatar pro-sumer commented on June 19, 2024

I'm not sure, but it looks like I have a 64 bits executable and 32 bits library?

If true, a dynamically linked 32 bits executable might also work? (As an alternative solution)

from fd.

pro-sumer avatar pro-sumer commented on June 19, 2024

fd-v9.0.0-arm-unknown-linux-musleabihf.tar.gz would be a statically compiled 32-bit arm version.

I already tried that, but:

➜ ./fd
zsh: illegal hardware instruction  ./fd

from fd.

pro-sumer avatar pro-sumer commented on June 19, 2024

A statically linked version might be as simple as adding a line like ... to the build matrix. But I'm not sure if there would be any problems with that, and don't have a way to test if it works.

Excellent suggestion! (I wasn't aware that the executables were built using GitHub actions)

I forked the repo, created a branch, added that line, and tested the generated binary on my router. Result:

➜ fd --version
fd 9.0.0

The statically linked aarch64 version works!

from fd.

pro-sumer avatar pro-sumer commented on June 19, 2024

Created PR #1478 to add this target (if @sharkdp approves such an addition).

from fd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.