From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: ARM VM with networking support? Date: Mon, 25 Nov 2019 15:39:09 +0100 Message-ID: <875zj8t3zm.fsf@gmail.com> References: <87r22p3trp.fsf@gnu.org> <87ftj4vqcy.fsf@gmail.com> <87mud59d47.fsf@gnu.org> <877e46b9ld.fsf@gmail.com> <878soeo2c5.fsf@gnu.org> <87r21yzaav.fsf@gmail.com> <87v9r86oiu.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52600) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZFWF-0006bS-Im for guix-devel@gnu.org; Mon, 25 Nov 2019 09:39:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZFWE-0005kq-Dl for guix-devel@gnu.org; Mon, 25 Nov 2019 09:39:15 -0500 In-reply-to: <87v9r86oiu.fsf@devup.no> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel Hey Marius, > Do you know roughly what's needed to support cross-compiling in > meson-build-system, apart from creating a '--cross-file'[0]? 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 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. Thanks, Mathieu