I've solved the problem (in my case at least).

http://lists.freepascal.org/lists/fpc-pascal/2013-May/038254.html

Thanks for your suggestions Marco (and also thanks to Jonas!).

Bruce.


On Fri, May 24, 2013 at 6:27 PM, Marco van de Voort <mar...@stack.nl> wrote:

> In our previous episode, Bruce Tulloch said:
> > This indicates libgcc is not being pulled in (the Wheezy case).
>
> That's what I would expect yes.
>
> My guess is that the default glibc references the gcc and it gets pulled
> in,
> and it doesn't in the cross situation (so you have to manually add a
> reference to it)
>
> I think that can be considered a bug in those cross libs.
>
> To check this compile a simple cthreads using program straight and cross
> with -s. This allows you to inspect the link.res in both cases.
>
> If -lgcc isn't necessary in one case, but it is in the other, I assume it
> is a
> library dependency problem
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to