From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: i686-linux GCC package on x86_64 Date: Tue, 08 Oct 2019 00:34:14 +0200 Message-ID: <87o8yschi1.fsf@elephly.net> References: <87d0fs2q0p.fsf@ambrevar.xyz> <87d0featrl.fsf@ambrevar.xyz> <87h84p3trz.fsf@gmail.com> <877e5lnd81.fsf@ambrevar.xyz> <87r23s1qy1.fsf@gmail.com> <87v9t4a4yk.fsf@jlicht.xyz> <20191004181644.589c8ea3@scratchpost.org> <87pnjbdc7i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54962) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHbaC-0005LT-GI for guix-devel@gnu.org; Mon, 07 Oct 2019 18:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHbaB-00087i-Ig for guix-devel@gnu.org; Mon, 07 Oct 2019 18:34:24 -0400 Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHbaB-00086q-10 for guix-devel@gnu.org; Mon, 07 Oct 2019 18:34:23 -0400 In-reply-to: <87pnjbdc7i.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: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich writes: > That said, I am curious about something. If I want to make a > cross-compiler available for the purpose of hacking around on some code > and cross-compiling it, is there an equivalent to "guix package -i > gcc-toolchain" which will give me a cross-compilation toolchain? My > feeling was that Guix can create cross-compilation toolchains on demand, > but there is no UI exposed for making it available via a guix command, > since people are encouraged to just ask for the cross-built product. Both avr-toolchain and arm-none-eabi-toolchain-6 (among others) are examples of cross toolchains that can be installed on one type of system to build binaries for another architecture. -- Ricardo