Hello, Tanguy. Congratulations on your success to bring Guix System to Lime2!
У вт, 2026-01-06 у 10:33 +0100, Tanguy Le Carrour пише: > But for others, I run into errors related to cross-compilation > and I have no clue what to do of them!? If your computer supports virtualization, you could try architecture emulation instead of cross-compilation. Cross-compilation is faster because emulation introduces overhead. However, when familirazing myself with both, I noticed that many packages are not downloaded from substitutes when cross-compiling, so guix ends up recompiling them instead, including the kernel, taking considerable time. Thus, building an image via architecture emulation may be faster if guix downloads prebuilt bootloader, kernel, and other packages from substitutes. So, I consider using emulation for my board image when I get it. For emulation, you need to setup qemu-binfmt-service-type on the computer where you are building the image. Then, when building an image, specify the architecture via -s flag (--system= instead of -- target= guix build option) to avoid cross-compiling, which is the default behavior. I have succeeded in building some images which could not be built with cross-compilation, including the one which I mentioned in my previous email. But I am still waiting for my board, so I cannot not test the resulting image yet. Roman
signature.asc
Description: This is a digitally signed message part
