Compiling GHC in Windows, Mingw
Simon Marlow
simonmar at microsoft.com
Thu Nov 17 07:05:53 EST 2005
On 17 November 2005 06:15, Esa Ilari Vuokko wrote:
> I tried to compile ghc from cvs head in windows, hosting and
> targetting mingw. When I got ghc to compile, it crashes while
> parsing (I putStrLn-debugged) package.conf, but only from installed
> position.
>
> Basically, somewhere inside ParsePkgConf.loadPackageConfig GHC crashes
> with access violation. With very few test runs, it appears that
> simplifying the file helps, but only case I got it not to crash was
> one package in file, rts, and empty ldOptions.
>
> Maybe I went wrong somewhere, any pointers appreciated!
>
> What I did:
> Current msys, msysdtk, binutils, win32api, gcc-core.
> cvs checkout fpconfig and in there ghc, libraries, alex and happy
> autoreconf
> ./configure --host=i386-unknown-mingw32
> --with-gcc=d:/tools/msys/mingw/bin/gcc.exe
> make
> make install
I haven't seen this, but I'm just updating my Windows build to try to
reproduce. Does it happen with the stage1 or stage2 compiler? What
version of GHC are you bootstrapping with?
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list