MSYS build - stage 2 problem

Gour gour at mail.inet.hr
Tue Mar 2 15:55:04 EST 2004


Simon Marlow (simonmar at microsoft.com) wrote:

>   - MSYS has its own strange pathname convention (/c/foo instead
>     of c:/foo) and it does magic conversion in the shell(?).  I'm 
>     not convinced that paths of the form /c/foo can't leak into
>     our tools anywhere, and I'm not convinced that MSYS's magic
>     conversion isn't going to cause any problems.

Well, one can define in MSYS' fstab something like:

c:/foo /foo

and then the path is same like under Linux - /foo.

>   - both MSYS and cygwin handle Win32 native paths, with both
>     / and \ as directory separators.  In the GHC build system we
>     use these native paths exclusively, so there's no difference
>     between MSYS and cygwin here.  The only place where cygpath
>     shows up is in the configure script, and I believe we need to
>     do something equivalent for MSYS here too.

In MSYS case, one does not anything extra - it's the same like Linux build.

(Simon can confirm this since he got my MSYS 'patches'.)

> Having said that, MSYS still looks like an improvement over cygwin for
> our purposes.

I'm glad to hear that :-)

If there hadn't been bug with temporary files in 6.2, I'd probable not going
into source-build excursion, but I'm happy that Simon was able to build. Now,
I'm going to try to do the same :-)

Sincerely,
Gour

-- 
Gour
gour at mail.inet.hr
Registered Linux User #278493



More information about the Cvs-ghc mailing list