> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:
Simon> If you're calling a Haskell library from C, the problem
Simon> might be that you forgot hs_add_root(), or that your
Simon> hs_add_root() isn't pointing to the right module (it should
Simon> point to the module tha
> "Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
Simon> Colin Paul Adams wrote:
>>> "Ian" == Ian Lynagh <[EMAIL PROTECTED]> writes:
>>
Ian> If you were lucky it would abort with an assertion
Ian> failure. Anyway, gdb should now have debugging symbols to
Ian> w
Colin Paul Adams wrote:
"Ian" == Ian Lynagh <[EMAIL PROTECTED]> writes:
Ian> If you were lucky it would abort with an assertion
Ian> failure. Anyway, gdb should now have debugging symbols to
Ian> work with.
It already did (I passed the -g option to gcc).
I guess I will need to i
> "Ian" == Ian Lynagh <[EMAIL PROTECTED]> writes:
Ian> If you were lucky it would abort with an assertion
Ian> failure. Anyway, gdb should now have debugging symbols to
Ian> work with.
It already did (I passed the -g option to gcc).
I guess I will need to install the GHC source
On Sun, Nov 16, 2008 at 06:49:20PM +, Colin Paul Adams wrote:
>
> I added the -debug link flag.
>
> Add I added +RTS and -DS as command-line arguments in the call to
> hs_init() (I presume that's what you meant me to do).
Yes, that sounds like it should work.
> I can't notice any difference
> "Ian" == Ian Lynagh <[EMAIL PROTECTED]> writes:
Ian> On Sat, Nov 15, 2008 at 05:31:12PM +, Colin Paul Adams wrote:
>>
> Can you suggest how I should go about investigating this problem
>> further?
Ian> Try linking with -debug, and running with +RTS -DS. That
Ian> mi
On Sat, Nov 15, 2008 at 05:31:12PM +, Colin Paul Adams wrote:
>
> Can you suggest how I should go about investigating this problem further?
Try linking with -debug, and running with +RTS -DS. That might reveal
the problem, and if not you should get more useful info from gdb.
Thanks
Ian
___