Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Vigouroux <ke.vigouroux@laposte.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Golang] Add support for a bootstrap binary
Date: Fri, 24 Apr 2020 17:00:52 +0200	[thread overview]
Message-ID: <87ftct2ajf.fsf@laposte.net> (raw)

Hello,

Currently, on the supported systems, one way to build Go on the host
machine is to build it from a binary bootstrap toolchain because the
source bootstrap toolchain (Go 1.4) does not target some supported
architectures (ppc64le, aarch64...).

In practice, I would like to be able to build Go on a *aarch64*
machine. Then, cross-compiled Go packages to run them on an *arm*
machine.

References:
  - https://golang.org/doc/install/source#bootstrapFromBinaryRelease
  - https://golang.org/doc/install/source#environment ($GOHOSTOS and
  $GOHOSTARCH)

Best regards,
Kevin Vigouroux.

                 reply	other threads:[~2020-04-24 15:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87ftct2ajf.fsf@laposte.net \
    --to=ke.vigouroux@laposte.net \
    --cc=buildroot@busybox.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox