[fpc-pascal] Link on another host - how to collect and copy all files?

Jonas Maebe jonas at freepascal.org
Mon Dec 13 18:27:30 CET 2021


On 13/12/2021 18:02, Joost van der Sluis via fpc-pascal wrote:
> 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.

You'd mainly need -XR in that case.

> 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)

There is already an option for this: -st . I don't know how well it 
works though.


Jonas


More information about the fpc-pascal mailing list