On Mon, Apr 23, 2018 at 6:40 PM, Philip Brown <p...@bolthole.com> wrote:
>
> the docs at
> https://golang.org/doc/install/gccgo
> seem to mention how to use packages for your own code, but dont mention how
> to use third party packages.
>
> In other words, in situations where you would normally do
>
> go get github.org/blah/somepackage
>
>
> What should you do for gccgo, once you have downloaded/cloned somepackage ?
>
> Of particular interest is, for example, the gccgo equivalent of
>
>   go get golang.org/x/net
>
> What would be best practices for that?

The equivalent is the same command: `go get golang.org/x/net`.
Although there is no such package, perhaps you want `go get
golang.org/x/net/ipv4` or something.


> also:
> one would think that
>
> go build -compiler gccgo -buildmode=archive
>
> would appear to be the right tool.
> But it doenst work on my platform.
> So I need other suggestions.

There is no -buildmode=archive.  Using -buildmode=c-archive should
work if that is what you want to do.

Ian

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to