Comments (7)
Windows support is planned, but that's after macOS.
from mold.
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.
Is there any plan to support linking on Windows natively?
from mold.
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.
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.
from mold.
+1
from mold.
Related Issues (20)
- mold can't be built with itself on mingw HOT 2
- Higher zstd compression levels for debug info HOT 1
- 2 tests fail on RiscV HOT 6
- Compilation on EL-family Linux with GCC leaves `ld.mold` zombies. HOT 2
- Mold 2.32.1 fails to link with unresolved dlopen HOT 1
- Proposal: split debug symbols HOT 4
- Symbol table is empty in `.gdb_index` created by mold HOT 4
- [regession] cannot use lto on MacOS: get_self_path is not supported HOT 1
- aarch64-lto-llvm fails with llvm 18
- Mold crash in mold::elf::InputSection<mold::elf::X86_64>::get_fragment at mold/elf/mold.h:2363 HOT 9
- test arm-arm_abs-error fails on linux armel
- sparc64: a bunch of tests are failing HOT 25
- x32: most of the tests are failing HOT 1
- question about support relaxation of loongarch HOT 6
- Failing tests on Alpine with 2.32.1 HOT 5
- Runtime error with Intel MKL and FEAST solver HOT 2
- VTT and discarded COMDAT error HOT 3
- x86_64-as-needed-weak (Failed) HOT 4
- Undefined reference when linking shared libraries not raised HOT 1
- mold: error: undefined symbol: OPENSSL_ia32cap_P HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mold.