[kaffe] Determining the SP_OFFSET

Dalibor Topic dalibor.topic at googlemail.com
Thu Feb 21 03:59:16 PST 2008


Sivaramakrishnan KC schrieb:
> Hi all,
>
> I am porting kaffe to a new platform. How do I determine the value for 
> SP_OFFSET macro (defined in md.h)? Is there any other way to find it 
> out other than executing <kaffe>/developers/sp_offset.c file? Is it 
> the same as the STACK_POINTER_OFFSET definition in the target machine 
> definition for GCC?
Hi,

in the developers directory, there is an sp_offset.c program. Compile it 
and run it, and it should give you the value.

cheers,
dalibor topic




More information about the kaffe mailing list