unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 50071@debbugs.gnu.org
Subject: bug#50071: 02/02: gnu: syncthing: Prepare for cross-compiling.
Date: Sun, 22 Aug 2021 16:30:03 -0400	[thread overview]
Message-ID: <YSKzy+aMKBqT1cZ7@jasmine.lan> (raw)
In-Reply-To: <YSKao0b4lqWs4eFX@jasmine.lan>

On Sun, Aug 22, 2021 at 02:42:43PM -0400, Leo Famulari wrote:
> Quoting from Efraim on #guix:
> 
> "the go cross-build error I was seeing is this: go install: cannot install cross-compiled binaries when GOBIN is set"

Upstream gives instructions on how to cross-compile Syncthing:

------
`go run build.go build`

    Builds just the named target, or syncthing by default, to the
    current directory. Use this when cross compiling, with parameters
    for what to cross compile to: go run build.go -goos linux -goarch
    386 build.
------

https://docs.syncthing.net/dev/building.html#subcommands-and-options




      reply	other threads:[~2021-08-22 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15 20:44 bug#50071: [leo@famulari.name: Re: 02/02: gnu: syncthing: Prepare for cross-compiling.] Leo Famulari
2021-08-22 18:42 ` bug#50071: 02/02: gnu: syncthing: Prepare for cross-compiling Leo Famulari
2021-08-22 20:30   ` Leo Famulari [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=YSKzy+aMKBqT1cZ7@jasmine.lan \
    --to=leo@famulari.name \
    --cc=50071@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).