Hi Reuben.

> > The CVS edition of Greencard has a file "src/ErrorHook.c" which causes a
> > linker error about "_impure_ptr" under Win32 with the latest
install-shield
> > ghc.
>
> That suggests that the file has been compiled with the wrong GCC options
> compared with the rest of the code, e.g. perhaps without -mno-cygwin.

You're right thanks.

Here is another overwhelmingly massive patch for the makefile in
"greencard/src" which fixes the link error and the __GLASGOW_HASKELL__
macro definition problem under Mingw/Win32:

----------------------------------------------------------------------------
---------------------------------------------
Index: src/Makefile
===================================================================
RCS file: /cvs/fptools/green-card/src/Makefile,v
retrieving revision 1.29
diff -r1.29 Makefile
41c41
<       $(CC) $(CC_OPTS) -c $< -o $@
---
>       $(HC) $(HC_OPTS) -c $< -o $@
43a44
>
----------------------------------------------------------------------------
---------------------------------------------

Cheers

Mike Thomas.



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

Reply via email to