Simon Marlow wrote:
>
> I don't forsee any problems with the C stack - the stack pointer stays
> static during execution of Haskell code, and only moves when we do a C
> call or return to the RTS.
But how do I get the address of the bottom of the stack ? It seems I can
define a C main so I can g
> Hi,
>
> I'm trying to write an interface for a C library that
> uses a Boehm type garbage collector. So, I need to get
> the address of the bottom of the C stack. In a C
> application this would look something like:
> main()
> {
> int bottomOfStack;
> }
> Where "&bottomOfStack" would