[fpc-pascal] Porting Delphi ASM code to FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 24 11:45:26 CEST 2009


On 24 Aug 2009, at 11:40, Graeme Geldenhuys wrote:

> OK, my 64bit FPC does have INTERNAL_BACKTRACE defined, but does NOT  
> have
> FPC_SYSTEM_HAS_GET_FRAME.
>
> So it seems my FPC doesn't have get_frame() function, but yet FPC is
> able to compile DUnit2. This is weird and I don't understand how
>  get_caller_addr(get_frame);
> is able to compile without errors.

It does have it, because INTERNAL_BACKTRACE means "the backtrace- 
related functions are handled internally in the compiler for this  
platform".


Jonas



More information about the fpc-pascal mailing list