While an old Go program will compile with new versions, new Go programs may 
not compile with old versions due to added standard library APIs.

Matt

On Thursday, March 8, 2018 at 10:32:35 AM UTC-6, Krzysztof Kwiatkowski 
wrote:
>
> Hi,
>
>
> I've quite newbe question, but I would like to double-check my 
> understanding before doing something stupid.
>
>
> I'm building a toolchain for which I need to compile go from sources (I 
> modify the sources). In order to compile Go I need some version of Go to be 
> installed on my system.
>
> Does it matter which version of go I use to compile? 
>
> It will matter for things like performance, but I'm concerned purely about 
> correctness of the build.
>
>
> My understanding is that it doesn't - as according to documentation here 
> https://golang.org/doc/install/source, it's OK to use any compiler 
> version to compile go from source. Is my understanding correct?
>
>
> Kris
>

-- 
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