Hi Michael.
The latest release candidate of Mingw binutils fixed some problems with
autoimporting variables from DLL's. More details at:
http://sourceforge.net/project/shownotes.php?release_id=127364
I believe that there have also been similar changes in one or two other
recent MinGW32 binutils
Bugs item #653009, was opened at 2002-12-12 15:30
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=653009&group_id=8032
Category: Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Ano
Bugs item #652927, was opened at 2002-12-12 21:24
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=652927&group_id=8032
Category: hslibs/lang
Group: 5.04.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Gunter (magunter)
Assigned to: Nobody/A
Bugs item #652863, was opened at 2002-12-12 20:02
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=652863&group_id=8032
Category: hslibs/lang
Group: 5.04.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Gunter (magunter)
Assigned to: Nobody/A
> ralf/tmp> ghci -fglasgow-exts Arr.lhs
>___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 5.04, for
> Haskell 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \/\/ /_/\/|_| Type :? for help.
>
> Loading package base ...
> Let Crash.hs be:
>
> module Crash where
> import Data.Word (Word64)
> data S = S { a :: ! Word64 }
> s :: S
> s = S { a = 0 }
>
> Then:
>
> (mbs@emae) ghci-5.04 -fglasgow-exts
>___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 5.04, for
> Has
Whilst I was trying to get the curses binding example in QForeign to compile
- I stumbled on what I believe to be a bug. Essentialy I believe that the
version of ld.exe that you have packaged up with ghc 5.04 win32 has a bug or
is perhaps badly configured.
ghc uses - GNU ld version 2.11.90 (200