The Go compilation environment can be customized by environment variables. -None are required by the build, but you may wish to set them +None are required by the build, but you may wish to set them to override the defaults.
@@ -442,10 +442,9 @@ to override the defaults.$GOARM
to 5 will compile the run-time libraries using
- just SWP instructions that work on older architectures as well.
- Running v6 code on an older core will cause an illegal instruction trap.
+ Setting $GOARM
to 5 causes the linker to emit calls
+ to a software floating point implementation instead of using
+ hardware floating point support.
export GOROOT=$HOME/go -export GOARCH=386 +export GOARCH=amd64 export GOOS=linux