[fpc-pascal] FPC on ARM (eg Zaurus)

Jonas Maebe jonas at zeus.ugent.be
Fri Nov 5 10:09:41 CET 2004

On 5 nov 2004, at 07:20, Den Jean wrote:

> ----------------------------------------------------------------------- 
> -----------------------------------------------------
> arm-linux-ld: warning: cannot find entry symbol _start; defaulting to  
> 000084c8
> /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/system.o: In function  
> /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/system.o(.text+0x147a8):  
> undefined reference to `_haltproc'
> ----------------------------------------------------------------------- 
> ------------------------------------------------------
> So I add /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/prt0.o to  
> link.res (thank you Jose Pascual for this idea)
> Again this compiles but the resulting executable give the same ... "No  
> such file or directory"...error as above.

I don't know whether this will fix the "no such file or directory"  
problem, but when linking to libc, you have to use cprt0.o instead of  

Also, what does "file <executable>" tell you? And "ldd <executable>"?


More information about the fpc-pascal mailing list