[kaffe] help including correct sigcontext for arm port
Dario Laverde
dario at nycjava.net
Mon Sep 17 09:37:02 PDT 2007
I'm getting:
signal.c:77: error: 'struct sigcontext' has no member named 'r14'
I don't know which signal.h it's using (apparently not i386 or arm or ppc for that
matter).
thanks,
Dario
> Dario Laverde wrote:
>> hi all,
>>
>> I'm having trouble including the right sigcontext for my config/arm/darwin port (I
>> used config/i386/darwin as my template).
>>
>> I've made the required change to access the correct stack pointer in:
>>
>> from
>> #define STACK_POINTER(scp) ((scp)->esp)
>> to
>> #define STACK_POINTER(scp) ((scp)->r14)
>>
>> but I can't figure out how to pull in the correct sigcontext definition (I tried
>> hard coding the correct signal.h from the toolchain into config/arm/darwin/md.h as
>> well as where the error occurs at kaffe/kaffevm/systems/unix-pthreads/signal.c,
>> and
>> even adding extra include dirs into configure arams to no avail.
>
> Hi Dario,
>
> what's the error message from the compiler you get?
>
> cheers,
> dalibor topic
>
More information about the kaffe
mailing list