Re: [go-nuts] rebuild & reinstall pkg/tool/.../link

2019-10-09 Thread Ian Lance Taylor
On Wed, Oct 9, 2019 at 3:11 AM Liam  wrote:
>
> I have the current 1.12 release from a Linux distro, installed in /usr/lib/go.
>
> If I patch the linker source, how would I rebuild and reinstall 
> pkg/tool/.../link ?

It may depend on just what the Linux distro has done.  The basic
command would be "go install cmd/link".

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/CAOyqgcWw9jhMqR9uSmdyL_vhM8nB_eB_5B%2BwKvMWfOxY9L3aUA%40mail.gmail.com.


Re: [go-nuts] rebuild & reinstall pkg/tool/.../link

2019-10-09 Thread Liam Breck
On Wed, Oct 9, 2019, 3:17 AM Jan Mercl <0xj...@gmail.com> wrote:

> On Wed, Oct 9, 2019 at 12:10 PM Liam  wrote:
> >
> > I have the current 1.12 release from a Linux distro, installed in
> /usr/lib/go.
> >
> > If I patch the linker source, how would I rebuild and reinstall
> pkg/tool/.../link ?
>
> I think there are two options:
>
> - Learn how to make the distro's package from sources.
> - Install Go from sources: https://golang.org/doc/install/source.
>

Hoping it's easier, as it has a full src directory installed, with
src/cmd/link/*

-- 
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/CAKvHMgSHe1WD303aYF20xCpELp_O%3Dj1qxTjUkiKRz%3DsmGgT6Rw%40mail.gmail.com.


Re: [go-nuts] rebuild & reinstall pkg/tool/.../link

2019-10-09 Thread Jan Mercl
On Wed, Oct 9, 2019 at 12:10 PM Liam  wrote:
>
> I have the current 1.12 release from a Linux distro, installed in /usr/lib/go.
>
> If I patch the linker source, how would I rebuild and reinstall 
> pkg/tool/.../link ?

I think there are two options:

- Learn how to make the distro's package from sources.
- Install Go from sources: https://golang.org/doc/install/source.

-- 
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/CAA40n-Xv-vJm2a%2B_JzdPZtgZ72PxoCr6dsE7hfNdAupBM73s4Q%40mail.gmail.com.