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

Marco van de Voort marcov at stack.nl
Fri May 24 10:27:18 CEST 2013


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



More information about the fpc-pascal mailing list