From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: Guix system cross-compile Date: Thu, 07 Mar 2019 15:44:13 +0100 Message-ID: <87r2big2wy.fsf@gmail.com> References: <87ef7kfk2v.fsf@gmail.com> <87r2bi3gi4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1uFv-0000og-Ni for guix-devel@gnu.org; Thu, 07 Mar 2019 09:44:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1uFv-0005Qy-1h for guix-devel@gnu.org; Thu, 07 Mar 2019 09:44:19 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:33656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1uFt-0005PO-Gg for guix-devel@gnu.org; Thu, 07 Mar 2019 09:44:17 -0500 Received: by mail-wm1-x330.google.com with SMTP id c13so6902508wmb.0 for ; Thu, 07 Mar 2019 06:44:16 -0800 (PST) In-reply-to: <87r2bi3gi4.fsf@gmail.com> 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: Alex Vong Cc: Guix-devel Hi Alex, This subject is explained in "Package Transformation Options" section of the documentation. In short: --system means try to build natively for the specified architecture. It is possible on the arch that support multiple personalities (i686 and x86 for instance), or using QEMU binfmt_misc mechanism. The argument is an arch name like "x86_64-linux", "armhf-linux" or "aarch64-linux". --target means cross-compile for the specified architecture. The argument is a GNU triplet such as "mips64el-linux-gnu". Mathieu