[fpc-pascal] Cross-building on from Linux/x86-64 to Linux/i386 (was: Win64 release of FPC 2.6.2 missing)

Bruce Tulloch pascal at causal.com
Sat May 25 02:25:37 CEST 2013

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


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


On Fri, May 24, 2013 at 6:27 PM, Marco van de Voort <marcov at 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130525/f34f7121/attachment.html>

More information about the fpc-pascal mailing list