Broken build: 32-bit FreeBSD, SmartOS, Solaris

cg chengang31 at
Sun Oct 12 03:22:06 UTC 2014

On 10/10/2014 9:40 PM, Páli Gábor János wrote:
> 2014-10-10 13:30 GMT+02:00 cg <chengang31 at>:
>> 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.


More information about the ghc-devs mailing list