On Sat, Jun 26, 2021 at 11:59 PM Kavindu Gimhan Zoysa
<kavindu...@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/CAOyqgcUUxTa6Yp5DRZgof6vhnDhwE_%3D9fKek_hcb6NhTGW1tzw%40mail.gmail.com.

Reply via email to