> "Jason" == Jason Dusek <[EMAIL PROTECTED]> writes:
Jason> Colin Paul Adams <[EMAIL PROTECTED]> wrote:
>> I've managed to solve it this morning. It was the way I was
>> setting up argc and argv (badly) for the call to hs_init.
>> Doing it properly means there are no longer any
Colin Paul Adams <[EMAIL PROTECTED]> wrote:
> I've managed to solve it this morning. It was the way I was
> setting up argc and argv (badly) for the call to hs_init.
> Doing it properly means there are no longer any crashes with
> either Eiffel compliler.
What is the "bad" way to set them up?
-
> "Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
>> Links now, but I'm still getting the crash in the garbage
>> collector. :-(
Simon> Perhaps try reducing the example until the problem goes
Simon> away, so we can see at which stage it gets introduced? Or
Simon> can
Colin Paul Adams wrote:
"Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
Simon> Colin Paul Adams wrote:
>>> "Simon" == Simon Peyton-Jones <[EMAIL PROTECTED]>
>>> writes:
>>
Simon> It looks as if you are somehow failing to link your binary
Simon> with package
> "Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
Simon> Colin Paul Adams wrote:
>>> "Simon" == Simon Peyton-Jones <[EMAIL PROTECTED]>
>>> writes:
>>
Simon> It looks as if you are somehow failing to link your binary
Simon> with package 'base'. (Are you usin
Colin Paul Adams wrote:
"Simon" == Simon Peyton-Jones <[EMAIL PROTECTED]> writes:
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" == Simon Peyton-Jones <[EMAIL PROTECTED]> writes:
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 h
kell-users-
| [EMAIL PROTECTED] On Behalf Of Colin Paul Adams
| Sent: 23 November 2008 15:20
| To: Simon Marlow
| Cc: glasgow-haskell-users@haskell.org
| Subject: Re: Linking to Haskell code from an external program
|
| >>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]>
> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:
> "Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
Colin> I then attempted to move it into Eiffel. I can compile the
Colin> C code OK, but I'm running into problems with linking.
>>>
Colin> I solved most of the p
> "Simon" == Simon Marlow <[EMAIL PROTECTED]> writes:
Colin> I then attempted to move it into Eiffel. I can compile the
Colin> C code OK, but I'm running into problems with linking.
>>
Colin> I solved most of the problems by adding the -v flag to the
Colin> call to ghc whi
Colin Paul Adams wrote:
Embarassing - I simply forgot to include Fib.o in the link.
So it links now (program crashes, but I can try to sort that out).
I'm still intereted in knowing how to automatically get the list of
required libraries.
"Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:
Embarassing - I simply forgot to include Fib.o in the link.
So it links now (program crashes, but I can try to sort that out).
I'm still intereted in knowing how to automatically get the list of
required libraries.
> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:
Colin> I am tryi
12 matches
Mail list logo