Tad Vi
2015-07-30 16:36:19 UTC
I am cross compiling binary from Windows to Linux/arm (WD My Cloud version
4).
Version 4 is unusual since it uses 64k page size.
set GOARM=7
set GOOS=linux
set GOARCH=arm
go build -ldflags "-R 65536"
Build runs and binary seems to work fine on WD My Cloud. Awesome.
Question: Is this enough? My binary is pretty small and does not do much at
this point. No file I/O or concurrency yet.
Is -ldflags "-R 65536" enough? Does Go 1.5 fully support 64 page sizes?
4).
Version 4 is unusual since it uses 64k page size.
set GOARM=7
set GOOS=linux
set GOARCH=arm
go build -ldflags "-R 65536"
Build runs and binary seems to work fine on WD My Cloud. Awesome.
Question: Is this enough? My binary is pretty small and does not do much at
this point. No file I/O or concurrency yet.
Is -ldflags "-R 65536" enough? Does Go 1.5 fully support 64 page sizes?
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.