On Tue, May 12, 2020 at 2:17 PM Randall Becker <the.n.e....@gmail.com> wrote:
>
> On Tuesday, 12 May 2020 16:55:54 UTC-4, Ian Lance Taylor wrote:
>>
>> On Tue, May 12, 2020 at 1:11 PM Randall Becker <the....@gmail.com> wrote:
>> >
>> > I have the go repository with release-branch.go1.4 checked out on a 
>> > Windows/cygwin64 installation. Looking for the bootstrap.bash and not 
>> > finding one in that branch. Assuming that my eventual target will be 
>> > called nsx (rather the standard name for other open source projects), 
>> > would this be amd64 as a starting point, or does that not matter? Not sure 
>> > about the next step. make.bat to build for Windows first?
>>
>> The only reason to use go1.4 is to use it to build a newer version of
>> Go, ideally the current version.  Once you've built the current
>> version, use that for everything else, and set your go1.4 build aside
>> unless and until you need to build Go from scratch again.
>>
>> Yes, I assume that you would use amd64 as a starting point, since your
>> target is 64-bit x86 based
>
>
> So if I get this, build go1.4 from source under Windows, and bootstrap.bash 
> (but that does not exist in the branch), with the GOOS=nsx and GOARCH=amd64, 
> then build within the created tree using the cross compilers. Then build the 
> newest on the target platform using the go1.4 cross compiled version.
>
> Still wondering what to use for bootstrap.bash, though.

No, build Go1.4 from source on Windows.  Use that to build Go 1.14.2
(say) on Windows, as described at
https://golang.org/doc/install-source.html.  Then use Go 1.14.2 with
bootstrap.bash.  Go 1.14.2 comes with bootstrap.bash.

Once you have Go 1.14.2, throw away Go1.4 and never use it again.  The
only reason to use Go1.4 is to build a newer version of Go.  Once
you've done that, use the newer version of Go for everything.

For that matter, you can just download Go 1.14.2 for Windows.  Go 1.4
is there for people who want to bootstrap from source rather than rely
on downloaded binaries.

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/CAOyqgcWPYoupBuyPS-7Eakfq8brL4UFF7PsDGJgskR0zk2%3D93g%40mail.gmail.com.

Reply via email to