[Haskell-cafe] Trouble with FFI on Windows2000...
Serge LE HUITOUZE
slehuitouze at telisma.com
Mon Dec 22 04:14:22 EST 2008
Hi Kyra (I tried to email you directly, but, for some reason, my mail bounced...),
> > dlltool -d cproj1.def -l libcproj1.a
> > ghc --make testFFI_2.hs -optl-lcproj1 -optl-L.
> > [...]
> > This leads to an error box with message:
> > "DLL (null) not found on specified path"
> dlltool -d cproj1.def -l libcproj1.a -D cproj1.dll
Thanks very much for this answer, short and effective (an ideal one)!
Just an additional question, just for curiosity:
Does anyone know why this "-D" option doesn't appear in the following two pages?
- http://www.haskell.org/haskellwiki/GHC:FAQ#GHC_on_Windows (parag. 22.214.171.124)
Is this because the behavior I got is Win2K specific (hence very few people run into in 2008)?
Thanks again Kyra for your precious help.
More information about the Haskell-Cafe