On 20-07-2022 17:10, Maxime Devos wrote: > On 20-07-2022 17:03, phodina wrote: > >> Could you suggest some package which I could use as an example to >> write Guile code that will make it independent of the machine arch? > > Maybe look for target-x86-64?, target-aarch64?, etc, and do something > like #$(cond ((target-x86-32?) "x86") ...). > > As an example, maybe openssl, though it's not ideal given that it does > string-prefix? and not target-specific subdirectories. IIRC, gcrypt-error (or gnupg-error?) does something similar.