<div dir="ltr"><div>I've solved the problem (in my case at least). <br><br><a href="http://lists.freepascal.org/lists/fpc-pascal/2013-May/038254.html">http://lists.freepascal.org/lists/fpc-pascal/2013-May/038254.html</a><br>
<br>
Thanks for your suggestions Marco (and also thanks to Jonas!).<br><br>Bruce.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 24, 2013 at 6:27 PM, Marco van de Voort <span dir="ltr"><<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">In our previous episode, Bruce Tulloch said:<br>
> This indicates libgcc is not being pulled in (the Wheezy case).<br>
<br>
</div>That's what I would expect yes.<br>
<br>
My guess is that the default glibc references the gcc and it gets pulled in,<br>
and it doesn't in the cross situation (so you have to manually add a<br>
reference to it)<br>
<br>
I think that can be considered a bug in those cross libs.<br>
<br>
To check this compile a simple cthreads using program straight and cross<br>
with -s. This allows you to inspect the link.res in both cases.<br>
<br>
If -lgcc isn't necessary in one case, but it is in the other, I assume it is a<br>
library dependency problem<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div>