GHC compilation error (re-post).

Brandon Allbery allbery.b at
Fri Jan 18 21:00:42 CET 2013

On Fri, Jan 18, 2013 at 2:53 PM, J. Garrett Morris <jgmorris at>wrote:

> > Why is it trying to create "."?
> You can specify -o<dir> with a directory that doesn't exist; perhaps GHC
> always tries to create the output directory?
> In any case, I can confirm the observed behavior with GHC 7.6.1 on
> Windows 8, running with elevated privilege.  It seems to only be a
> problem in the root directory tho---while I can observe the problem in
> both C:\ and D:\, I can't in any subdirectories thereof.

That makes a certain amount of sense; the root directory of a drive is
treated somewhat specially for backward compatibility reasons.  (In
particular, "." is emulated --- on FAT, at least, neither "." nor ".."
exists in a drive root, and this behavior may well be emulated to keep from
confusing older programs.)

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list