Code Monkey home page Code Monkey logo

Comments (6)

dr-bonez avatar dr-bonez commented on June 1, 2024

Happy to take this on if no one is already on it.

from bwt.

dr-bonez avatar dr-bonez commented on June 1, 2024

I have successfully cross-compiled to armv7-unknown-linux-musleabihf using https://github.com/Start9Labs/rust-musl-cross. No modifications were necessary.

from bwt.

dr-bonez avatar dr-bonez commented on June 1, 2024

I have successfully cross-compiled to armv7-unknown-linux-gnueabihf using https://github.com/Start9Labs/rust-arm-builder. No modifications were necessary.

from bwt.

shesek avatar shesek commented on June 1, 2024

I have successfully cross-compiled to armv7-unknown-linux-gnueabihf using https://github.com/Start9Labs/rust-arm-builder. No modifications were necessary.

Very nice!

I'm not very experienced with Rust cross-compilation, but is the docker image necessary to make this work? I'm able to cross compile Windows builds from my Linux by just using the right target, and some online resources suggest that it should be possible for arm as well.

If it is necessary, could https://github.com/rust-embedded/cross be suitable to do this?

from bwt.

dr-bonez avatar dr-bonez commented on June 1, 2024

docker is not strictly necessary for cross compilation, you can always setup the full necessary environment locally. However, most projects rely on a gcc cross-compiler and openssl for the desired target. These docker images already have that set up, so it is a lot more convenient. I have not used cross before but I imagine it works fairly similarly to the above images.

from bwt.

dr-bonez avatar dr-bonez commented on June 1, 2024

looks like cross works out of box as well

from bwt.

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.