Is there any combination of GOARCH
and GOOS
values which I can set in order to build ELF 32-bit binary?
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Golang mongodb aggregation
- How to flatten out a nested json structure in go
- Error building gcc 4.8.3 from source: libstdc++.so
GOOS=linux
andGOARCH=386
.More examples: architecture:
OS:
For the complete list (valid "individual" values) refer to
go/build/syslist.go
file:Note that the above list is an ever-growing list, platforms not supported anymore are not removed (as that list is used for go/build filename matching).
For the current list all supported platforms (GOOS/GOARCH combinations), use the following command:
The valid combinations of
GOOS
+GOARCH
(source):