On Wed, Apr 14, 2021 at 8:25 AM Shiva <emailshivasubraman...@gmail.com> wrote: > > One file specifically, types_linux.go which I duped into types_nsx.go has a > build statement that goes like this '+build ignore'. Github discussions > around this suggest to me that I don't have to build this? But happy to be > corrected.
The "+build ignore" line means that the file will not be built as part of an ordinary "go build" or "go install". For a file like syscall/types_linux.go, that is because the file originally served as input to cgo -godefs as part of generating the various ztypes_linux_GOARCH.go files. > Also, can I build the bootstrap on windows or can I only do it in a POSIX > environment - I don't see bootstrap.bat and running bootstrap.bash with > GOOS=nsx and GOARCH=amd64 simply returns back the prompt? You should be able to build a bootstrap on Windows but you'll have to either replicate bootstrap.bash in a Windows style, or you'll have to use something like cygwin to run the bootstrap.bash shell script. There aren't that many real commands in bootstrap.bash so I think that creating a minimal bootstrap.bat would be fairly simple. 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/CAOyqgcV3KTEum58CHnsBybPdPTmn2sCf5zFxoScbqZt5j6UhbQ%40mail.gmail.com.