You need a 64-bit ghc and gcc to build a 64-bit ghc. If that's what you want instructions are here: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows/MSYS2

Niklas

Från: Niculae Ionita
Skickat: ‎2014-‎04-‎06 12:27
Till: GHC Dev List
Ämne: Trying to build 64 bit GHC on Windows with the 32 bit version

Hi,

I got yesterday the sources (HEAD) of GHC and configured with

./configure --target=amd64-unknown-mingw32

which finally succeeded.

But when I start make, I get almost in the beginning this error message:

===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such
file or directory
libraries/Cabal/Cabal/ghc.mk:3:
libraries/Cabal/Cabal/dist-boot/package-data.mk: No such file or directory
libraries/bin-package-db/ghc.mk:3:
libraries/bin-package-db/dist-boot/package-data.mk: No such file or
directory
libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/package-data.mk: No
such file or directory
libraries/transformers/ghc.mk:3:
libraries/transformers/dist-boot/package-data.mk: No such file or directory
libraries/dph/ghc.mk:134: *** dph_th_deps(v):
libraries/dph/dph-base_dist-install_GHCI_LIB not defined!.  Stop.
make: *** [all] Error 2

Is it really something wrong in the dph or am I do something wrong?

I have currently the 32 bit Windows version of HP-2013.02.0.0 installed.

Regards,
Nicu
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs