Re: PIC status

2004-08-01 Thread Alastair Reid
[Redirected to [EMAIL PROTECTED] from [EMAIL PROTECTED] Wolfgang Thaller wrote: [lots of stuff about dynamic linking/ghc/PIC deleted] So what's left to do is the following: [...] 7) Devise a way of telling GHC that a foreign import is imported from a DLL (for Windows); something like

Re: PIC status

2004-08-01 Thread Wolfgang Thaller
7) Devise a way of telling GHC that a foreign import is imported from a DLL (for Windows); something like __declspec(dllimport) in Windows C compilers. We should have thought of this before the FFI spec was finalized... [...] Can you explain point 7? How is a foreign import from DLL different