From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: smallerizing bootstrap guile? Date: Mon, 04 Nov 2019 14:38:41 +0100 Message-ID: <87eeynkbha.fsf@igalia.com> References: <20191104105756.GC372@E5400> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52811) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRcZc-0002Hx-Un for guix-devel@gnu.org; Mon, 04 Nov 2019 08:39:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRcZb-0000Uq-Oq for guix-devel@gnu.org; Mon, 04 Nov 2019 08:39:12 -0500 Received: from fanzine.igalia.com ([178.60.130.6]:53664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRcZb-0000QM-6I for guix-devel@gnu.org; Mon, 04 Nov 2019 08:39:11 -0500 In-Reply-To: <20191104105756.GC372@E5400> (Efraim Flashner's message of "Mon, 4 Nov 2019 12:57:56 +0200") 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: Efraim Flashner Cc: guix-devel@gnu.org On Mon 04 Nov 2019 11:57, Efraim Flashner writes: > Is there a good way to actually compile the .go files and use them to > replace the ones shipped in the guile-static tarball? > Can we do this on purpose and ship just the bin/ output, grab guile > sources and compile it for real? Or can I delete the .go files, take the > .scm files and compile them? Any hints on the guild invocation? Not entirely sure what you mean, but it would be possible to unpack Guile's sources, include as a build input a built version of that same Guile, then do make GUILE_FOR_BUILD=[path to native guile] -C prebuilt/32-bit-big-endian then take the .go files from prebuilt/32-bit-bit-endian and define them as an output for some guile-32-bit-big-endian bootstrap package. Then you could use that package as an input to another package that builds a native PPC Guile, but having previously unpacked the .go files into prebuilt/ on the PPC package, after the step in the existing Guile recipes that scrubs prebuilt/. Andy