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 `SYSTEM_SYSTEM_EXIT':
/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 prt0.o


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


Jonas


_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to