GNU bug report logs -
#50071
[leo@famulari.name: Re: 02/02: gnu: syncthing: Prepare for cross-compiling.]
Previous Next
Full log
View this message in rfc822 format
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
This bug report was last modified 3 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.