GHC and Mingw32 (cont.)

Michael Adams mdmkolbe@yahoo.com
Mon, 28 Jul 2003 14:34:05 -0700 (PDT)


Ok, I got GHC compiled but running it is a tricky.  It
has trouble finding package.conf.

I found a reference to this problem at
<http://www.mail-archive.com/glasgow-haskell-bugs@haskell.org/msg05617.html>.
  The work-around of doing -B does work (make sure you
don't but a space after the -B though), but it would
be nice for a better solution.  Can this be fixed? 
The e-mail refers to the location of package.conf
changing causing the problem.

Michael D. Adams
mdmkolbe@yahoo.com

The following is a demonstration of the problem and
work-around.

$ ghc --version
D:\cygwin\usr\local\stow\ghc-6-cvs\bin\ghc.exe: Can't
find package.conf as
D:\cygwin\usr\local\stow\ghc-6-cvs\ghc\driver\package.conf.inplace

$ find /usr/local/stow/ghc-6-cvs/ -name package\*
-print
/usr/local/stow/ghc-6-cvs/lib/ghc-6.1/package.conf

$ ghc --version
-BD:\\cygwin\\usr\\local\\stow\\ghc-6-cvs\\lib\\ghc-6.1
The Glorious Glasgow Haskell Compilation System,
version 6.1


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com