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
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel