8 ms·
You can generally remotely build for any supported architecture[1]. The build process will be painfully slow though if you have cache misses. [1] https://searc
by sollniss 3mo ago
You can generally remotely build for any supported architecture[1]. The build process will be painfully slow though if you have cache misses.
[1] https://search.nixos.org/options?channel=26.05&query=boot.binfmt.emulatedSystems#show=option%253Aboot.binfmt.emulatedSystems https://search.nixos.org/options?channel=26.05&query=boot.bi...
- deleted 3mo ago[deleted]
- throwawayqqq11 3mo agoNitpick: binfmt.emulatedSystems is not true cross compilation. It sets up a nixos to enable emulated native compilation. After painful tinkering, i prefer this way too. When i recall correctly, for cross compilation you'd have to use nixpkgs flags.
- actionfromafar 3mo agoAt some point it's a matter of perspective. If the emulated system is fast, it feels the same as "true" cross compilation. In the end it's a bunch of bits and bytes which produces some other bits and bytes when we poke it. If it goes fast, it's good. If it goes slow, it's painful.
- cbrake 3mo agoIs this similar to QEMU user mode emulation?