all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Wingo <wingo@igalia.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: smallerizing bootstrap guile?
Date: Mon, 04 Nov 2019 14:38:41 +0100	[thread overview]
Message-ID: <87eeynkbha.fsf@igalia.com> (raw)
In-Reply-To: <20191104105756.GC372@E5400> (Efraim Flashner's message of "Mon, 4 Nov 2019 12:57:56 +0200")

On Mon 04 Nov 2019 11:57, Efraim Flashner <efraim@flashner.co.il> 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

  reply	other threads:[~2019-11-04 13:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 10:57 smallerizing bootstrap guile? Efraim Flashner
2019-11-04 13:38 ` Andy Wingo [this message]
2019-11-06 17:35 ` Ludovic Courtès
2019-11-07  7:30   ` bootstrap guile segfaults on powerpc 32-bit Efraim Flashner
2019-11-09 20:24     ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeynkbha.fsf@igalia.com \
    --to=wingo@igalia.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.