You have to give more details than this; GHC does support
both '/' and '\' as path separator (but, of course, doesn't understand
nonsense like /cygdrive prefixes).

That GHC doesn't depend on cygwin is a feature, not a bug
(but if you want it to, you can compile it up for that 'platform'
instead).

--sigbjorn

----- Original Message ----- 
From: "Antony Courtney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 07:02
Subject: Cygwin path support for ghc under Windows?


> Hi,
> 
> This is more of a question than a bug report, so my appologies for using 
> what is probably the wrong email list.
> 
> Henrik Nilsson and I have just invested considerable effort in trying to 
> write portable, complete Makefiles for compiling and installing some of 
> our Haskell libraries with ghc under both Linux and Windows.  We have 
> invested a lot of work into factoring out platform- and site-specific 
> definitions from the common build rules and target lists.  Of course, 
> Cygwin and its port of GNU make is the only thing that makes this idea 
> even vaguely plausible.
> 
> When I look at the Win32-specific portion of the Makefile, it appears 
> that the *only* reason that I can't write one simple, portable GNU make 
> Makefile that would work on Linux and Windows is because ghc only 
> understands the Windows-style path name convention (with '\' as the path 
> seperator, and ':' for drive letters).  All of the other Cygwin tools 
> understand both the Windows-style and Cygwin/POSIX-style path names.
> 
> What are your thoughts on this matter?  Have you considered adding 
> POSIX-style path name support to ghc on Windows, either by hand or by 
> linking with cygwin?  After all, any Windows developer worth supporting 
> will have Cygwin installed anyway.  :-)
> 
> If there is interest but lack of resources, I would be happy to have a 
> go at implementing a minimalist form of such support.
> 
> -antony
> 
> -- 
> Antony Courtney
> Grad. Student, Dept. of Computer Science, Yale University
> [EMAIL PROTECTED]          http://www.apocalypse.org/pub/u/antony
> 
> 
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to