Thank you. In `go version` command I cannot see `gccgo` or `gollvm`

But in `go build -x` command has mentioned that, `llvm-goc` is running 
located at `/usr/local/bin`.

On Monday, 28 June 2021 at 02:53:53 UTC+5:30 Ian Lance Taylor wrote:

> On Sat, Jun 26, 2021 at 11:59 PM Kavindu Gimhan Zoysa
> <kavin...@gmail.com> wrote:
> >
> > I have ran the commands in 
> https://go.googlesource.com/gollvm/#installing, (I did not run `ninja 
> install-gollvm`). Then I set the path of bin folder to my $PATH using 
> `export PATH=<PATH_TO_INSTALLATION>build-debug/bin:$PATH`.
> >
> > Finally, I was able to run `go build/run test.go` successfully.
> >
> > But my problem is since I have already installed golang to my machine 
> before install gollvm, how do I verify that go build command picked gollvm, 
> instead of golang's compiler?
>
> Run "go version" and look for "gccgo" or "gollvm" in the output.
>
> Or, run "go build -x" to see exactly what commands it is running.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2fd912eb-71ca-4730-b443-0e29e85d0260n%40googlegroups.com.

Reply via email to