[Buildroot] [PATCHv6] package/golang: new package
Christian Stewart
christian at paral.in
Wed Oct 21 21:37:27 UTC 2015
Thomas,
... to everyone this time...
> Maybe the host-golang compiler needs to be passed some magic arguments
> or environment variables to build?
>
Yes, this is the case. You have to specify GOARCH and similar. It's done in
the docker package pull request, see
https://github.com/paralin/buildroot/blob/44464ffc4e67c3ee7483ac7b70c6bf67bda2e399/package/lxcdocker/lxcdocker.mk
These things are already not copied if only host-golang is built.
>
Then I don't see the issue. If you're wanting to use Go as an interpreter,
Go needs to be able to access all of the source code required to compile
the code and the dependencies. So, the runtime is required to be copied.
Thanks!
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151021/3f990a66/attachment-0001.html>
More information about the buildroot
mailing list