[kaffe] Kaffe & -fomit-frame-pointer

Dalibor Topic robilad@yahoo.com
Fri, 16 Aug 2002 02:55:10 -0700 (PDT)


Hi Gwenole,

--- Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
wrote:
>
> Update: the problem is genuine on some architectures
> (e.g. it has to be 
> explicitly disabled on m68k and mips it seems), but
> 
> > Just tried on ix86 & explicit
> -fomit-frame-pointer, and it failed. :-(
> 
> This problem was due to the following. Say,
> CLASSPATH variable is 
> already set but does not contain ".".
> BUILD_ENVIRONMENT sourced won't 
> add it since CLASSPATH is already set but will fail
> to find the class in 
> current directory.

Regarding frame pointer:
Edouard's porting kaffe document says:
 Some platforms need to setup Frame-Pointer register
when creating a new thread stack. In this case you
must provide his offset FP_OFFSET into jmp_env.

Macros SP_OFFSET and FP_OFFSET should be defined in
file config/$Khost_cpu/$Kost_os/md.h.

Regarding classpath:
Would adding "." to the classpath in respective
makefiles help?

best regards,

dalibor topic

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com