again thank you for explanations/clarifications.

have a good day, regards, lacsaP.

Le mar. 21 mars 2023 à 11:16, Genes Lists <lists@sapience.com> a écrit :
On 3/21/23 04:26, lacsaP Patatetom wrote:
> hi everybody,

>
> my development workstation is running 6.1.20-1-lts and I made
> linux-lts-ro-6.1.15-1-x86_64.pkg.tar.zst and
> linux-lts-ro-headers-6.1.15-1-x86_64.pkg.tar.zst packages on it : if now
> I want to compile on this development workstation applications to run on
> another workstation which is running 6.1.15-1-lts-ro, what should I do
> so that the compilation takes this specificity into account ?

Unless you are compiling kernel modules the answer is nothing. The
kernel team takes great pains to ensure that user space will continue to
work. Most of the kernel interface of the kernel with user space is
mediated by libraries such as glibc.

You do need to be sure that your user-space environment is consistent
between the compiling host and the application target. For example that
the target machines run same version of glibc etc.

So short answer - if only difference between your compile machine and
target application machine is kernel - there is nothing special you need
to do.

Good luck.