Linking to Haskell code from an external program
Colin Paul Adams
colin at colina.demon.co.uk
Mon Nov 24 14:24:55 EST 2008
>>>>> "Simon" == Simon Marlow <marlowsd at gmail.com> writes:
Simon> Colin Paul Adams wrote:
>>>>>>> "Simon" == Simon Peyton-Jones <simonpj at microsoft.com>
Simon> It looks as if you are somehow failing to link your binary
Simon> with package 'base'. (Are you using 'ghc' as your linker;
Simon> you should be.) But others are better than I at this kind
Simon> of stuff.
>> I have base-188.8.131.52 specified.
>> No, I am not using ghc as the linker. Since I am calling the
>> Haskell routine from an Eiffel program, I don't see how I could
>> do that with any sort of ease.
Simon> I think you'll have to post complete instructions to
Simon> reproduce the problem you're having; it's hard to piece it
Simon> together from the information you've given. The problem
Simon> will be in the details somewhere.
It seems it was some complication when switching from 6.8 to 6.10. I
didn't clean up properly.
Links now, but I'm still getting the crash in the garbage collector. :-(
More information about the Glasgow-haskell-users