-
Notifications
You must be signed in to change notification settings - Fork 848
Support 64-bit Windows #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have enough concerns about 64bit windows that if you only support one binary download, it should be 32bit. But you should support both ideally :) Partly its just newer and historically had some issues (the first version was dire) - now I suspect it's just less tested. |
@ndmitchell I'm curious how long it's been since that first version. Did it produce incorrect code? |
A long time! I think it segfaulted with NAG dlls or something, pretty rare and a long time ago. Now it's just less tested. |
Alright, I think I've got this working. Try running with the |
I've successfully built a project with both 32- and 64-bit GHC! I still need to test installing GHC. |
Installing 64-bit GHC worked! |
Awesome! Should we consider this resolved? |
Is there a way to specify which GHC version you want in |
I would have thought stack.yaml was the wrong place for it - you want that to be a cross-platform file. |
|
Ok I was aware of the |
With that in mind, can/does |
Also, I keep getting |
Yes.
Please feel free to update the text to be more user-friendly. It's intended to let the user how the PATH environment variable would be modified for any subprocesses, which would be useful information to have if the user wanted to use that GHC directly. |
Ok that makes sense now. I wasn't sure if it was telling me that I should change my |
Is this fixed in the latest release? |
I think so, let's close it. |
Hi, please reopen this issue, there is something wrong with the installer of GHC 7.10 64 bits (stack Version 0.0.2, Git revision ca93c89). With In fact, the structure of the GHC directory looks strange (I have remaining "stage1" and "stage2" subdirectories):
Also, could you consider to make by default the architecture of GHC the same than the one of Windows? It is counter-intuitive to have by default 32 bits on a 64 bits system. |
Good catch, there was an incorrect URL. Can you delete your Programs directory (or at least the downloaded tarball and unpacked directory) and try again? No need to redownload stack. We're defaulting to 32-bit for now because there's still some concern about the reliability of 64-bit GHC on Windows. |
It works now! I have installed both 32 and 64 bits versions. |
Cool, thank you! |
I can't use
stack
until it supports two things:I couldn't find a way to accomplish (2) but it might already be in place. (1) is disabled for some reason ATM. I think @ndmitchell has fears about 64-bit GHC's stability on Windows? I personally have never had issues (other than some libraries not fully supporting 64-bit, but that's not GHC's fault).
The text was updated successfully, but these errors were encountered: