>> and I can't get any information on where to put the generated .so
>> file so that I can access the functions I have generated.
>
>I can't remember if this is documented anywhere (it certainly should be).

I was looking for the same information in the Hugs user guide a few days ago - Hugs was
complaining it couldn't find a .dll file even though as far as I could see there it 
was, see below. 
There didn't seem to be any information on the subject.

Dominic.

Reading file "c:\hugs98\lib\Maybe.hs":
Reading file "c:\hugs98\lib\List.hs":
Reading file "c:\hugs98\lib\Array.hs":
Reading file "c:\hugs98\lib\exts\IOExts.hs":
Reading file "c:\hugs98\lib\exts\Foreign.hs":
Reading file "c:\haskelldirect\0.16\hugs-lib\PointerPrim.hs":
Reading file "c:\hugs98\lib\exts\Weak.hs":
Reading file "c:\haskelldirect\0.16\hugs-lib\Pointer.lhs":
Reading file "c:\haskelldirect\0.16\hugs-lib\AddrBits.hs":
Reading file "c:\haskelldirect\0.16\hugs-lib\HDirect.lhs":
Reading file "C:\HaskellDirect\0.16\examples\pcre\Pcre.hs":
Parsing
ERROR "C:\HaskellDirect\0.16\examples\pcre\Pcre.hs": Error while importing
DLL "
C:\HaskellDirect\0.16\examples\pcre\Pcre.dll"
HDirect> !dir *.dll

 Volume in drive C has no label
 Volume Serial Number is 1830-1A02
 Directory of C:\HaskellDirect\0.16\examples\pcre

PCRE     DLL       306,274  18/01/00  23:10 Pcre.dll
PCRE~1   DLL         3,640  18/01/00  23:09 Pcre.dll_o
         2 file(s)        309,914 bytes
         0 dir(s)     188,416,000 bytes free
HDirect>

Reply via email to