[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 1.5.2 build on ia64
From: |
stefan |
Subject: |
Re: guile 1.5.2 build on ia64 |
Date: |
Thu, 20 Sep 2001 16:25:20 +0200 (CEST) |
On Fri, 14 Sep 2001, Martin Grabmueller wrote:
> If this (borken setjmp/longjmp) is not an issue anymore, please let me
> know. But I recommend to keep that in mind.
I digged around in the linux-ia64 mailing archives and found something:
When the alpha patches have been applied and guile-1.5.3 is out I would
like to try something like this:
#ifdef __ia64__
#include <ucontext.h>
{
ucontext_t ctx;
getcontext (&ctx);
scm_mark_locations ((SCM_STACKITEM *) &ctx.uc_mcontext,
((size_t) (sizeof (SCM_STACKITEM) - 1 + sizeof ctx.uc_mcontext)
/ sizeof (SCM_STACKITEM)));
}
#endif /* __ia64__ */
Instead of the setjmp() call the getcontext() should save all of the
registers including the current stack into the context variable `ctx'.
I definetly know the getcontext() function to be available, but I am not
yet sure if it is correctly implemented yet.
Cheers,
address@hidden
- guile 1.5.2 build on ia64, stefan, 2001/09/12
- Re: guile 1.5.2 build on ia64, Rob Browning, 2001/09/12
- Re: guile 1.5.2 build on ia64, Martin Grabmueller, 2001/09/15
- Re: guile 1.5.2 build on ia64, stefan, 2001/09/15
- Re: guile 1.5.2 build on ia64,
stefan <=
- Re: guile 1.5.2 build on ia64, Rob Browning, 2001/09/20
- Re: guile 1.5.2 build on ia64 ... successful gc'ing, stefan, 2001/09/21
- Re: guile 1.5.2 build on ia64 ... successful gc'ing, Rob Browning, 2001/09/21
- Re: guile 1.5.2 build on ia64 ... successful gc'ing, stefan, 2001/09/21
- Re: guile 1.5.2 build on ia64 ... successful gc'ing, Rob Browning, 2001/09/21
- Re: guile 1.5.2 build on ia64 ... successful gc'ing, stefan, 2001/09/21