hsc2hs broken under Win32
Hi,
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
antony@AIRSTREAM ~/src/haskell/ffi/hsc2hs
$
Trac metadata
Trac field |
Value |
Version |
5.04.2 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
high |
Resolution |
ResolvedFixed |
Component |
None |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|