On 13-07-03 11:32 PM, Lilly Matsson wrote:
Hello!
I recently made a post on Reddit
(http://www.reddit.com/r/rust/comments/1hk25r/rust_on_64bit_windows_7/)
asking about 64-bit Windows support, and kibwen urged me to post here to
start some kind of discussion about the current state of 64-bit Windows
support.
So, what is the deal? What needs to be done to fully get 64-bit support
for Windows? As I understand it, it has to do with LLVM.
I don't think it'd be terribly difficult, given the current situation.
The broad-brushstrokes steps are:
- Shift our dependencies to mingw-w64. We've wanted to do this for
a while anyways, since it's the newer / better-supported flavour,
just lacked person-power to do it.
- Add a new target and host config in the makefiles.
- Fiddle with the target-specific data layout string in
librustc::back
- Fiddle with any missing definitions in std::libc.
- Cross compile to it, make a snapshot and register it.
I'm not aware of any LLVM issues blocking it. Thad Guidry and Luqman
Aden have both been working on these steps and probably a bunch others
that I've missed. There might also be a nontrivial number of Subtle
Complications in the first step (i.e. "gcc-isms that we are
bug-dependent on or something") but I don't know of specifics. Others
might know.
You can see some of the associated bugs and ongoing work here:
https://github.com/mozilla/rust/issues/1237
https://github.com/mozilla/rust/issues/2398
https://github.com/mozilla/rust/pull/7494
https://github.com/mozilla/rust/pull/7547
We'd be very happy to see this land during 0.8 cycle, it's just been a
matter of finding enough spare hands. The "install a very old version of
mingw" step in our current getting-started guide is offputting to ... a
lot of people :(
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev