Which, on reading it again is probably not related (please put it down to
last day before a weeks worth of holiday inattention).

I recall having a similar problem in cases where I've accidentally mixed up
Cygwin and Mingw gcc/ld.  If this is the same issue you probably need to put
MinGW32 gcc/ld first in your path, or pass the "--mno-cygwin" flag to gcc.

Cheers

Mike Thomas.


| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Thomas
| Sent: Tuesday, January 21, 2003 9:26 AM
| To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
| Subject: RE: hsc2hs broken under Win32?
|
|
| Hi Antony.
|
| I had this problem in a different context and got this reply from
| Sigbjorn:
|
| http://www.haskell.org/pipermail/cvs-ghc/2002-October/015843.html
|
| Cheers
|
| Mike Thomas.
|
|
| | -----Original Message-----
| | From: [EMAIL PROTECTED]
| | [mailto:[EMAIL PROTECTED]]On Behalf Of Antony
| | Courtney
| | Sent: Friday, January 17, 2003 5:51 AM
| | To: [EMAIL PROTECTED]
| | Subject: hsc2hs broken under Win32?
| |
| |
| | Hi,
| |
| | I have also submitted this bug via SourceForge:
| |
| | http://sourceforge.net/tracker/index.php?func=detail&aid=668705&gr
| | oup_id=8032&atid=108032
| |
| | I uploaded my minimal test program along with the SourceForge
| bug report.
| |
| | hsc2hs seems to be broken under Win32 with ghc
| | 5.04.2. If I take a simple test program and attempt to
| | compile it with hsc2hs, I get the following output:
| |
| | $ make -f Makefile.ghc-win32
| | hsc2hs Test.hsc
| | Test_hsc_make.o(.text+0x2d8):Test_hsc_make.c:
| | undefined reference to `_imp___iob
| | '
| | Test_hsc_make.o(.text+0x305):Test_hsc_make.c:
| | undefined reference to `_imp___iob
| | '
| | Test_hsc_make.o(.text+0x31b):Test_hsc_make.c:
| | undefined reference to `_imp___iob
| | '
| | Test_hsc_make.o(.text+0x348):Test_hsc_make.c:
| | undefined reference to `_imp___iob
| | '
| | Test_hsc_make.o(.text+0x373):Test_hsc_make.c:
| | undefined reference to `_imp___iob
| | '
| | Test_hsc_make.o(.text+0x3a0):Test_hsc_make.c: more
| | undefined references to `_imp
| | ___iob' follow
| | collect2: ld returned 1 exit status
| | make: *** [Test.hs] Error 1
| |
| | If anyone has any suggestions about what's going on, I'd be
| very grateful.
| |
| | Thanks,
| |
| |     -antony
| |
| |
| | --
| | Antony Courtney
| | Grad. Student, Dept. of Computer Science, Yale University
| | [EMAIL PROTECTED]          http://www.apocalypse.org/pub/u/antony
| |
| | _______________________________________________
| | Glasgow-haskell-bugs mailing list
| | [EMAIL PROTECTED]
| | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
| |
| |
|
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|


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

Reply via email to