[Haskell-cafe] Regarding Haskell FFI
rajendradprasad at gmail.com
Wed Mar 28 10:57:19 CEST 2012
I am using GHC version 7.0.4.
On Wed, Mar 28, 2012 at 2:09 PM, Simon Marlow <marlowsd at gmail.com> wrote:
> On 27/03/2012 08:56, rajendra prasad wrote:
>> I am trying to load the DLL(Wrapper.dll) in my code(Main.hs). When I am
>> placing the dll in local directory, I am able to load it through
>> following command:
>> ghci Main.hs -L. -lWrapper
>> But, I am not able to load it if I am putting it in some other
>> directory(../../bin). I used the following command:
>> ghci Main.hs -L../../bin/ -lWrapper
>> I doubt I am not using the correct way to specify the path of dll in the
>> Please correct me if I am wrong.
> What version of GHC is this? We fixed some bugs in that area recently.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe