Coder Social home page Coder Social logo

Comments (7)

rui314 avatar rui314 commented on July 18, 2024 2

Windows support is planned, but that's after macOS.

from mold.

rui314 avatar rui314 commented on July 18, 2024

Cross-compiling a Windows binary on Linux is pretty tricky, and I'm not sure how much code change you need to make mold build-able for that target. I believe at least you need to build all depending libraries (e.g. zlib, libssl and tbb) for Windows, as the libraries you installed using apt isn't for cross compilation. I'm also not sure if C++20 is supported in that cross build environment.

Could you share a little bit more about what you are trying to achieve by cross-compiling? If you just want to run mold on Windows (for Linux target), you can run it on WSL or in Docker.

from mold.

aminya avatar aminya commented on July 18, 2024

Is there any plan to support linking on Windows natively?

from mold.

rui314 avatar rui314 commented on July 18, 2024

There's no plan to support Windows at this moment. I'm working on macOS support now, so it could be next, but I can't promise.

from mold.

KungPhoo avatar KungPhoo commented on July 18, 2024

Oh please, please Windows. I'm struggling with a large project and have to use gcc (mingw). I can't use gold nor lld, thus my linker rattles a few minutes on every build.

from mold.

rui314 avatar rui314 commented on July 18, 2024

#190

from mold.

aadog avatar aadog commented on July 18, 2024

+1

from mold.

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.