[fpc-pascal] CThreads problem when cross-compiling to ARM/RPi.
jonas.maebe at elis.ugent.be
Thu May 23 14:28:11 CEST 2013
On 23 May 2013, at 14:25, Bruce Tulloch wrote:
> On Thu, May 23, 2013 at 10:18 PM, Jonas Maebe <jonas.maebe at elis.ugent.be
>> On 23 May 2013, at 14:10, Bruce Tulloch wrote:
>>> Linking arm-test-threads
>>> units/arm-linux/rtl/cthreads.**o: In function
>>> 'dlopen' in statically linked applications requires at runtime the
>>> libraries from the glibc version used for linking
>> Why/how are you trying to create a statically linked binary? As the
>> message above explains, statically linking libdl relies on a bunch of
>> library magic. At the very least you'll probably also have to link
>> explicitly, but I would really recommend to link dynamically instead.
>> Support for binaries statically linked against C libraries is
>> very much untested, and known not to work on certain platforms (e.g.
> Okay, so I'm not trying to link statically, not intentionally anyway.
Do you have a libdl.so in your library search path? And what kind of
reference to libdl does link.res contain?
More information about the fpc-pascal