Okay, great, I'm reconfiguring now, I'll let you know if I still have problems. It might be worth changing the configure example in the user guide from

./configure --host=i386-unknown-mingw32 --with-gcc=/mingw/bin/gcc

to

./configure --host=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc

to make it perfectly clear that the argument to with-gcc is a mingw path and
not a cygwin path for a cygwin that happens to be installed in the root directory.

Thanks,
Bryn

Sigbjorn Finne wrote:

This bit


/cygdrive/c/tools/mingw/bin/gcc ...

doesn't look right when compiling the .c in ghc/rts/.
'ghc-mingw32' doesn't understand cygwin-style paths.

It is derived from WhatGccIsCalled in mk/config.mk.in, so
perhaps you used a custom --with-gcc=<...> option when
configuring? If so, change it to "c:/tools/mingw/bin/gcc".

--sigbjorn


----- Original Message -----
From: "Bryn Keller" <[EMAIL PROTECTED]>
To: "Simon Peyton-Jones" <[EMAIL PROTECTED]>
Cc: "Bryn Keller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 12:51
Subject: Re: Win32 build problems



It is still happening, on two different machines with similar
configurations. Simon Marlow asked someone else who was getting the same
error on the ghc-users list to do a make with

EXTRA_HC_OPTS=-v

which I've done, and attached the output. I get the same problem whether

it's on a fresh tree or not.

Thanks,
Bryn


...



_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc


Reply via email to