Hi, Mathieu Othacehe <m.othac...@gmail.com> skribis:
> Never looked into it, but it seems that nix has proper cross compilation > support for meson (using cross-file.conf as you mentionned), see: > nixpkgs/pkgs/development/tools/build-managers/meson/default.nix > > Sadly there are other build-systems where cross-compiling isn't > supported: > > * scons.scm > * haskell.scm > * python.scm > * ruby.scm > * perl.scm > * meson.scm > * r.scm > * android-ndk.scm > * go.scm > * waf.scm > * emacs.scm > * asdf.scm > * ocaml.scm > * node.scm > * julia.scm > * dune.scm > * dub.scm > * ant.scm > * linux-module.scm > * rakudo.scm > * cargo.scm > * glib-or-gtk.scm Yeah. :-/ > As I think that using --system is not viable (horribly slow, hard to > find native hardware to cook substitutes), extending cross-compilation > support is very important IMO. I think we need both, it’s a tradeoff. Emulated stuff is slow but it can work without any modifications. In some cases, it’s good enough, especially if our build farm provides enough substitutes. Ludo’.