MSYS build - stage 2 problem

Gour gour at mail.inet.hr
Fri Feb 27 11:15:10 EST 2004


Simon Peyton-Jones (simonpj at microsoft.com) wrote:

> Surely not?  Don't the mingw tools use '\' as a path separator?  That is
> why GHC and hsc2hs invoke (the mingw) gcc with back-slashed file names.
> 
> Or, is msys different to mingw?  Sigh.

MSYS is bash-like environment where one works within rxvt terminal - it is
possible to use backticks "`" like in wx-config script used in wxWidgets etc..

In other words no need for cygpath, since msys translates all POSIX paths into
Win32 environment.

> When configuring, your host/target platform should indeed be
> i386-unknown-mingw32.  So you should get '\' here.  So I'm puzzled
> again.

It's i386-unknown-mingw32, but I need '/'.

> Furthermore, pathSep is (bizarrely) used in exactly one place, when
> creating the path to run signals_hsc_make.exe.  Furthermore, it's not
> used at all in the HEAD tree.
> 
> 
> I'm happy that you are un-stuck, but I still do not understand what the
> problem was or is. For example, I still do not know which of the steps I
> described in my last message is failing.

All the steps works if I modify the '\' into '/'.

> It might be worth repeating the entire exercise with the HEAD, since
> there are differences in precisely the areas you are working on.

See my other (previous) post.

Sincerely,
Gour

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



More information about the Cvs-ghc mailing list