[fpc-devel] assumed bug in the RTL with ARM v5 regarding loading dynamic libraries

Michael Schnell mschnell at lumino.de
Wed Jan 23 12:55:36 CET 2013


On 01/23/2013 10:34 AM, Thomas Schatzl wrote:
>
> That may be different in your ipkg installation - your firmware is
> likely different/newer. Still, there should be no need to directly link
> to crti.o.
That is what I hope, as in fact the project never access any CRT related 
stuff. The binding of CRT is a nasty side-effect of something not too 
well done in pl.pp or called by pl.pp
> Try searching for a different lib directory, preferably in the directory
> where ipkg/optware installs its stuff.
What file am I supposed to find ? The offending line in pl.pp is
{$linklib c}

I compile just doing
fpc test123.pas

I did do a symlink for /usr/lib/fpc to allow for the rtl and fcl files 
to be found as (supposedly) denoted in fpc.cfg (which I copied from the 
debian package to /etc, as there was none in the TAR distribution)
So where does the linker search for what file when the compiler sees 
{$linklib c} ? libc.so ? libc.a ? what else ?

> Otherwise I cannot help any further. It's definitely an issue with a
> wrong linker resources.
I'll keep trying....
Thanks,
-Michael



More information about the fpc-devel mailing list