
12 Oct
2014
12 Oct
'14
3:22 a.m.
On 10/10/2014 9:40 PM, Páli Gábor János wrote:
2014-10-10 13:30 GMT+02:00 cg
: How can I configure to build x86_64?
When I build GHC (with msys2), it always builds i386 and I haven't spotted the option in ./configure to choose a x86_64 release.
This is implicitly determined by the toolchain you use. So, probably you have the i686 msys2 installed, while you would need the x86_64 version. Given, that your operating system (and thus your hardware) is also x86_64.
It turns out if I have 64-bit prebuilt ghc installed and exported in PATH, the build system will detect it and build a 64-bit ghc from source code. -- cg