On Wednesday, 15 November 2023 at 21:25:37 UTC Def Ceb wrote:
I downloaded and ran `go env` with both the 32-bit and 64-bit Go
toolchains from go.dev, and the GOGCCFLAGS results were:
Since you're on a newer Raspberry Pi with a 64-bit ARM environment, you
should download the 64-bit Go toolchai
I downloaded and ran `go env` with both the 32-bit and 64-bit Go
toolchains from go.dev, and the GOGCCFLAGS results were:
64-bit: GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections
-fmessage-length=0
-ffile-prefix-map=/tmp/go-build2828356582=/tmp/go-build
-gno-record-gcc-switches'
32-bit: GOGC
On Wed, Nov 15, 2023 at 9:59 PM Stephen Illingworth
wrote:
>
> That works better although not perfectly for my purposes. More work required
> from me.
>
> I'm curious though, about the -marm flag. How can I remove it from the
> GOGCCFLAGS variable? Or are we saying we can't use the aarch64 compi
That works better although not perfectly for my purposes. More work
required from me.
I'm curious though, about the -marm flag. How can I remove it from the
GOGCCFLAGS variable? Or are we saying we can't use the aarch64 compiler in
conjunction with cgo?
Thanks for the help
On Wednesday, 15 No
On Wed, Nov 15, 2023 at 8:30 PM Stephen Illingworth <
stephen.illingwo...@gmail.com> wrote:
> I'm trying to build a project on the Raspberry Pi, natively.
>
> Using "go env" I can see that Go has the following value for GOGCCFLAGS
>
> GOGCCFLAGS='-fPIC -marm -Wl,--no-gc-sections -fmessage-length=0
Hello,
I'm trying to build a project on the Raspberry Pi, natively.
Using "go env" I can see that Go has the following value for GOGCCFLAGS
GOGCCFLAGS='-fPIC -marm -Wl,--no-gc-sections -fmessage-length=0
-ffile-prefix-map=/tmp/go-build745518569=/tmp/go-build
-gno-record-gcc-switches'
However,