Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

xgo wrapper? #174

Open
CaptainSkywave opened this issue Dec 2, 2019 · 4 comments
Open

xgo wrapper? #174

CaptainSkywave opened this issue Dec 2, 2019 · 4 comments

Comments

@CaptainSkywave
Copy link

Great work @karalabe !
Have just downloaded and installed xgo-latest on an arm SDB similar to RPi with headless Linux 18.04.3 LTS.
When doing this go get github.com/karalabe/xgo I'm informed that go not found and can be installed with sudo apt install golang-go or gccgo-go
Do I need to install those also?
I suspect I should be issuing go get github.com/karalabe/xgo from inside your xgo-latest docker container? But how to?

@ushuz
Copy link

ushuz commented Apr 8, 2020

When doing this go get github.com/karalabe/xgo I'm informed that go not found and can be installed with sudo apt install golang-go or gccgo-go

go get install the wrapper on host to make the toolchain easier to use. So you need Golang installed on host if you want to go get the wrapper on host.

I suspect I should be issuing go get github.com/karalabe/xgo from inside your xgo-latest docker container?

No. Inside container, xgo executable is already available so you don't have to run go get. It seems that xgo-in-xgo is viable but haven't tested it myself so I can't say for that. Better stick to xgo-on-host approach for now.

@W1M0R
Copy link

W1M0R commented Aug 13, 2020

@karalabe Is it possible for you to provide the xgo wrapper as a prebuilt-binary and to publish it as a release on this GitHub project's Releases page?

@crazy-max
Copy link

@W1M0R You can use this one from my fork if you want.

@W1M0R
Copy link

W1M0R commented Aug 13, 2020

Thanks @crazy-max

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants