On Thu, 11 Jul 2002, Sigbjorn Finne wrote:

> Hi,
>
> looks as if you're mixing mingw and cygwin object
> files. ghc-5.04 is mingw-based, so make sure you
> feed in the flag -mno-cygwin to gcc when compiling
> .c files.
>

Yes, you are right - I have cygwin installed and seems that ghc uses
gcc.exe and ld.exe from cygwin directory and not the ones from
ghc-5.04/gcc-lib. The problem seems to be that cygwin bin directories are
in front of ghc bin directories in my path. When I put the directories in
reverse order, everything seems ok. But note that previous ghc versions
did not require that. So I still think something is wrong...

Besides, even if I put gcc bin directories in front of cygwin bin
directories, ld.exe complains about missing dllcrt2.o file although it
is present in ghc-5.04/gcc-lib directory.

Regards,
Mark

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

Reply via email to