all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: Christoph Buck <buck.christoph@googlemail.com>
Cc: help-guix@gnu.org
Subject: Re: Installing cross-compiled packages alongside a cross-compile toolchain
Date: Fri, 07 Jun 2024 17:44:55 -0300	[thread overview]
Message-ID: <86tti4iit4.fsf@kolabnow.com> (raw)
In-Reply-To: <82jzjny2qo.fsf@googlemail.com> (Christoph Buck's message of "Tue, 21 May 2024 10:43:11 +0200")

Hello Christoph,

Christoph Buck <buck.christoph@googlemail.com> writes:

> Total guix newbie here. Currently i am evaluating if guix could be a
> better alternative to yocto. My use case is as follows. I want to
> declarative define a system (for aarch64), generate an image and deploy
> it by flashing it to an sd card. Additionally i want to setup a
> development environment on my x64 dev machine, which i want to use to
> develop native applications for the aarch64 target. For this i need a
> cross-compile gcc toolchain (host: x64 target: aarch64) and
> cross-compiled packages of all libraries my application will use. Sounds
> like the perfect use-case for the `guix shell` command.

I'm very interested in the second part as well but unfortunately it's
not something supported by Guix without resorting to hacks, as you found
out. I never had the time and/or energy to dig deep into it. You went a
lot farther than I did!

This is a pity, because it doesn't look like this use-case would be hard
to support in Guix and I think it would be a killer feature for
developers, allowing it to gain more popularity as a development tool.

> Is this the correct way to set this up? Is there a simpler way? It is
> such a common problem and my solution looks rather complicated. Are
> there any insights and tips of people with similiar uses cases?

I don't know the answer to these questions, but your solution is
ingenious!

-- 
Thiago


  reply	other threads:[~2024-06-07 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21  8:43 Installing cross-compiled packages alongside a cross-compile toolchain Christoph Buck
2024-06-07 20:44 ` Thiago Jung Bauermann [this message]
2024-06-11 11:17   ` Christoph Buck
2024-06-08  2:43 ` Richard Sent
2024-06-10 11:51   ` Christoph Buck

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=86tti4iit4.fsf@kolabnow.com \
    --to=bauermann@kolabnow.com \
    --cc=buck.christoph@googlemail.com \
    --cc=help-guix@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.