Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-08

FPC for ARM beta "link.res" problem

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jose Pascual

Hi,

FPC for ARM generate during compilation a "link.res" for linking stage. Inside this link there's
...
/usr/local/lib/fpc/1.9.5/cross/arm-linux/units/rtl/cprt0.o ...

with cprt0.o LD can't link sucessfully, but changing cprt0.o by prt0.o everything work okey, even program run correctly. Problem is PPCROSSARM always create a link.res with a cprt0.o file to link instead prt0.o

I have try to compile with Xc option instead of change cprt0.o, in link.res, by prt0.o the linking is finished but if you run the binary generated print segmentation fault.

regards

Reply by email