Hi all,

I've got into troubles with a dynamic library on Linux. It uses pthreads but on the target system glibc 2.24 is used, while on my development machine 2.34 is being used. I've tried to copy the libc-libraries from the target system to my host and uxe -Xr -Xd, but it does not work.

I guess that it is getting complicated because in the old glibc version applications are linked to pthreads, while in this newer version the link is made against libc itself.

Now I want to copy all files that are used by the link-script to the target, and link there. But.. there are really a lot of files involved. (And the paths in ppas.sh and link.res are absolute paths?)

Does someone has a tool of other good trick to copy everything to the target machine, and link there?

(I almost started to add a separate option to the compiler to create a script do this, but there must be some other way to do this)

Regards,

Joost.

ps: I can also compile on the target, but my goal is to try different compiler versions. I can not install those on the target machine.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to