[fpc-pascal] Linking failed on RaspberryPi

Peter peter at pblackman.plus.com
Fri Sep 18 18:45:06 CEST 2015


On 16/09/15 02:28, Xiangrong Fang wrote:
> Hi Peter,
> 
> xrfang at pi ~ $ ls /usr/lib/**/crti.o
> /usr/lib/arm-linux-gnueabihf/crti.o
> 
> Thanks!

Then you could try compiling your program with the switch
-Fl /usr/lib/arm-linux-gnueabihf

{Note its a lower case l not an upper case I (as per your grep!) after
the -F}

You MIGHT get a bit farther. However, the real problem though, as Jonas
explained, is you have an ARMEL compiler but an ARMHF system.

You need to download, or build yourself, an ARMHF compiler.
Please follow the links in Jonas's first post here.
http://lists.freepascal.org/fpc-pascal/2015-September/045230.html

Regards,
PB



More information about the fpc-pascal mailing list